Node condition shows `PLEG is not healthy: pleg was last seen active 3m10s ago; threshold is 3m0s`.
AdvancedTroubleshootingNodes, kubelet and container runtime
Answer
Likely causes → The kubelet's Pod Lifecycle Event Generator cannot list containers from the runtime in time: containerd is hung or overloaded, too many containers on the node, a stuck container (D-state process, hung NFS mount), or disk I/O saturation.
Diagnose →
# On the node
time crictl ps -a | wc -l
systemctl status containerd
journalctl -u containerd --since "30 min ago" | tail -50
ps -eo pid,stat,cmd | awk '$2 ~ /D/'
iostat -x 2 3
Fix → Restart containerd (then kubelet) to recover; clear stuck mounts; reduce Pod density. Persistent cases mean replacing the node.
Prevent → Keep maxPods reasonable, avoid hard NFS mounts without timeouts, monitor runtime operation latency (kubelet_runtime_operations_duration_seconds).
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`.BeginnerA node flips to `NotReady` with `Kubelet stopped posting node status`.BeginnerAfter 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