CKA &. CKAD/Troubleshooting

Control Plane Failure

Clark Shim 2021. 4. 1. 20:33

ㅁ Check Node Status

kubectl get nodes

 

kubectl get pods

 

ㅁ Check Controlplane Pods

kubectl get pods -n kube-system

 

 

service kube-apiserver status

 

 

service kube-controller-manager status

 

 

service kube-scheduler status

 

 

service kubelet status

 

 

service kube-proxy status

 

ㅁ Check Service Logs

kubectl logs kube-apiserver-master -n kube-system

 

 

sudo journalctl -u kube-apiserver

 

https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster 

 

Troubleshoot Clusters

This doc is about cluster troubleshooting; we assume you have already ruled out your application as the root cause of the problem you are experiencing. See the application troubleshooting guide for tips on application debugging. You may also visit troubles

kubernetes.io