A Kubernetes node is `NotReady`. Diagnose it.
AdvancedHands-onLive debugging tasks
Answer
kubectl describe node ip-10-0-1-23 | sed -n '/Conditions/,/Addresses/p'
# MemoryPressure / DiskPressure / PIDPressure / Ready=False "Kubelet stopped posting node status"
# on the node (SSM/SSH):
systemctl status kubelet containerd
journalctl -u kubelet --since "15 min ago" | tail -50
df -h /var/lib/containerd /var/lib/kubelet
crictl ps -a | head
Typical causes: disk full (images or logs), kubelet certificate expired, containerd crashed, CNI pod failing on the node, or node lost network to the API server. Mitigate with kubectl cordon and kubectl drain --ignore-daemonsets --delete-emptydir-data, and replace the node if it's managed.
Key trick → Node conditions tell you which kind of pressure. journalctl -u kubelet tells you the rest. In a cloud node group, replacing beats repairing.
More on Live debugging tasks
A pod is in CrashLoopBackOff. You have 10 minutes. Walk through your commands.BeginnerThe pod shows `OOMKilled`. Diagnose and fix it.BeginnerA pod is stuck in `ImagePullBackOff`. Fix it.BeginnerA pod is `Pending` forever. What do you check?AdvancedThe Service returns "connection refused" but pods are Running. Debug it.IntermediateA Docker container exits immediately after `docker run -d`. Find out why.Beginner