kubectl cluster-info¶
kubectl cluster-info is a command-line tool used to retrieve the addresses of the core services running within a Kubernetes cluster^[400-devops__06-Kubernetes__k8s-ithelp__Day4__README.md].
Usage¶
To view the cluster connection details and service endpoints, execute the following command in your terminal^[400-devops__06-Kubernetes__k8s-ithelp__Day4__README.md]:
[kubectl](<./kubectl.md>) cluster-info
Output¶
When executed successfully, this command displays the connection information for the cluster, typically confirming the Kubernetes master is running and providing its API endpoint address^[400-devops__06-Kubernetes__k8s-ithelp__Day4__README.md]. It serves as a quick check to verify that kubectl is correctly configured to communicate with the cluster and that the control plane is accessible^[400-devops__06-Kubernetes__k8s-ithelp__Day4__README.md].
Related Concepts¶
- kubectl
- Kubernetes
- [[Cluster Architecture]]
Sources¶
^[400-devops__06-Kubernetes__k8s-ithelp__Day4__README.md]