Control Plane Failure
-
Take me to Lecture
-
In this lecture we will use how to troubleshoot the Control Plane components.
-
To check the status of the nodes if they are healthy
kubectl get nodes -
To check the status of the pods if the are running
kubectl get pods -
To check the status of all the pods of the Control Plane components(if they are deployed with kubeadm tool) and make sure they are
Runningkubectl get pods -n kube-system -
If the Control Plane components are deployed as services then check the status of all the components
-
To check the status of
kube-apiserverservice kube-apiserver status -
To check the status of
kube-controller-managerservice kube-controller-manager status -
To check the status of
kube-schedulerservice kube-scheduler status -
To check the status of
kubeletservice kubelet status -
To check the status of
kube-proxyon the worker nodes.service kube-proxy status -
To check the logs of the Control Plane components deployed as Pods:
kubectl logs kube-apiserver-master -n kube-system -
To check the logs of the Control Plane components deployed as SystemD Service
sudo journalctl -u kube-apiserver