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 labNo account needed for your first tries.
Related errors
- 0/3 nodes are available: insufficient cpu
No node fits the Pod, so the scheduler leaves it Pending and says why in the events.
- Unable to connect to the server: x509: certificate signed by unknown authority
kubectl doesn't trust the API server's certificate, or the certificate doesn't cover the address used.