All Pods on a node fail with `rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial unix /run/containerd/containerd.sock: connect: no such file or directory"`.
IntermediateTroubleshootingNodes, kubelet and container runtime
Answer
Likely causes → containerd is not running: crashed, failed to start after an upgrade or a bad config.toml, or was OOM killed.
Diagnose →
systemctl status containerd
journalctl -u containerd -n 100 --no-pager
containerd config dump >/dev/null # validates the config
Fix → Fix the config error and systemctl restart containerd, then systemctl restart kubelet. Running containers usually survive a containerd restart because shims keep them alive.
Prevent → Pin containerd versions in the node image, test config changes on a canary node, and reserve memory for system daemons.
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`.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`.Intermediate