Observability and troubleshooting, topic 51 of 61
Troubleshooting clusters
When the cluster itself misbehaves, start with kubectl get nodes and the node's conditions. A NotReady node often has a stopped kubelet or container runtime: check them with systemctl and journalctl on the node.
On a kubeadm cluster the control plane runs as static Pods from manifests in /etc/kubernetes/manifests; a typo there stops a component, and crictl shows its containers when the API is down. Troubleshooting is the largest domain of the CKA, so practise breaking things on purpose.
On Opsfolk
- Certified Kubernetes Administrator (CKA)Certification
- CKA practice: Advanced Kubernetes administrationQuiz, 40 questionsSigned-in members
Elsewhere
- Troubleshooting clustersOfficial