A node flips to `NotReady` with `Kubelet stopped posting node status`.
BeginnerTroubleshootingNodes, kubelet and container runtime
Answer
Likely causes → The kubelet is dead, hung, or cannot reach the API server: kubelet crash, instance out of memory or CPU, network partition, security group change, expired kubelet client certificate, or the instance was terminated.
Diagnose →
kubectl get node ip-10-0-1-5 -o jsonpath='{.status.conditions}' | jq '.[] | {type,status,reason,lastHeartbeatTime}'
# On the node (SSH or SSM)
systemctl status kubelet
journalctl -u kubelet --since "15 min ago" --no-pager | tail -50
curl -k https://<api-endpoint>/healthz
Fix → Restart the kubelet if hung, fix connectivity or certificates, or replace the node. After ~5 minutes unreachable, Pods get the node.kubernetes.io/unreachable taint and are evicted (default tolerationSeconds: 300).
Prevent → Node auto-repair (EKS node monitoring agent, managed node group health checks), system/kube reservations so the kubelet is not starved.
More on Nodes, kubelet and container runtime
A node is `NotReady` and `kubectl describe node` shows `container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized`.BeginnerNode condition shows `PLEG is not healthy: pleg was last seen active 3m10s ago; threshold is 3m0s`.AdvancedAfter a reboot the kubelet will not start: `failed to run Kubelet: running with swap on is not supported, please disable swap!`.BeginnerOn a new kubeadm node, static control-plane Pods and other Pods restart randomly every few minutes. Containerd is installed from the distro.AdvancedPods are evicted from a node with `The node was low on resource: ephemeral-storage. Threshold quantity: 10%, available: 8%` and the node shows `DiskPressure`.Intermediatekubelet logs say `failed to garbage collect required amount of images. Attempted to free 4.2GB, but only found 0 bytes eligible to free`.Advanced