Founding prices until 15 December: 30% off Pro, locked for life. See pricing

$ … Node NotReady

Kubernetes node NotReady: how to find out why

The node's kubelet stopped reporting healthy, so no new Pods go there and existing ones may be evicted.

Kubernetes

What it means

A node is Ready when its kubelet regularly reports in and its checks pass. NotReady (or Unknown) means the kubelet stopped reporting, or reports a problem such as memory or disk pressure or a broken network plugin.

Causes and fixes

Most likely first. Run the check, and if it matches, apply the fix.

1. The kubelet is stopped or failing

Check:

kubectl describe node <node> | grep -A8 Conditions
ssh <node> 'systemctl status kubelet; journalctl -u kubelet -n 50'

Fix: Fix what journalctl reports (config, certificate, swap) and restart the kubelet.

2. The container runtime (containerd) is down

Check:

ssh <node> 'systemctl status containerd'

Fix: systemctl restart containerd, then check the kubelet recovers.

3. The kubelet can't reach the API server (wrong server address, expired certificate, network)

Check:

ssh <node> 'journalctl -u kubelet | tail'   # "connection refused", "x509"

Fix: Correct /etc/kubernetes/kubelet.conf or renew certificates.

4. Disk or memory pressure

Check:

kubectl describe node <node> | grep -i pressure

Fix: Free disk (images, logs) or memory; the condition clears by itself.

Fix it yourself

A live machine in your browser with this problem already on it. The grader checks the result.

Open the lab

No account needed for your first tries.

Related errors