Skip to content
ohsudo, Home
Kubernetes

Kubernetes node NotReady: read its conditions, then check the kubelet

Fix a Kubernetes node stuck in NotReady: read its conditions, install the CNI on new clusters, check kubelet and containerd, swap, disk, certificates and time.

Intermediate4 min readApplies to Kubernetes 1.28+ · kubeadm · containerd · k3s · EKS · GKE · AKS

by OhSudo ··

Checked on real software: Kubernetes (kind) · November 2026How we check

Part of a learning path:Kubernetes: debugging pods

$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
cp-1 Ready control-plane 41d v1.37.0
worker-1 NotReady <none> 41d v1.37.0
worker-2 Ready <none> 41d v1.37.0

A node is Ready when its kubelet, the agent on each node, reports that it’s healthy. NotReady means the kubelet reports a problem, or has stopped reporting at all. New pods won’t be scheduled there, and after about five minutes, pods on it are moved elsewhere.

  1. kubelet on the nodereports its status
  2. API serverno healthy report(breaks here)
  3. Node NotReadyno new pods; pods moved after ~5 min
A node is Ready while its kubelet keeps reporting that it's healthy. NotReady means it reports a problem, or stopped reporting; after about five minutes its pods are moved.

TL;DR

Terminal window
kubectl describe node worker-1 | sed -n '/Conditions:/,/Addresses:/p'
# On the node itself
sudo systemctl status kubelet containerd
sudo journalctl -u kubelet -n 50 --no-pager

1. Read the conditions

Terminal window
kubectl describe node worker-1

The Conditions table says which case you have. Look at the Ready row’s status, reason and message:

  • False, KubeletNotReady: the kubelet runs, and reports a reason in the message, such as the network plugin (section 2) or the container runtime (section 3).
  • Unknown, NodeStatusUnknown, “Kubelet stopped posting node status.”: the control plane hasn’t heard from the kubelet. It’s stopped, the machine is down, or the network between them is cut (section 3).
  • MemoryPressure, DiskPressure or PIDPressure set to True: the node is short of resources, and evicts pods, as in Evicted (DiskPressure).

The Events at the bottom show what changed and when.

2. A new cluster: no network plugin

Right after kubeadm init or joining a node, every node is NotReady until a CNI (network) plugin is installed, with this message:

container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

Install one, such as Calico, Cilium or Flannel, following its own instructions, and with the pod network range your cluster was created with. If one is installed, check its pods on that node: kubectl get pods -n kube-system -o wide | grep worker-1. A crashing CNI pod on one node makes only that node NotReady.

3. The kubelet or the runtime stopped

On the node:

Terminal window
sudo systemctl status kubelet
sudo journalctl -u kubelet -n 100 --no-pager
sudo systemctl status containerd

What the kubelet’s log often says:

  • Swap is on: by default, the kubelet refuses to run with swap (failSwapOn). Turn it off with sudo swapoff -a, and remove the swap line from /etc/fstab so it stays off after a reboot.
  • The container runtime is down: containerd stopped or crashed. Restart it, and look at its log too.
  • Expired certificates: the kubelet’s client certificate is normally renewed automatically. A node that was off for a long time, or a cluster whose CA was replaced, can fail with x509 errors in the log. On kubeadm, rejoining the node fixes it.
  • The disk is full: the kubelet and containerd need room in /var/lib. df -h /var, then see No space left on device.
  • The clock is off: certificates look expired or not yet valid. Check timedatectl, and that NTP works.

After fixing the cause, sudo systemctl restart kubelet, and the node turns Ready within a minute.

4. The node can’t reach the control plane

If the kubelet runs fine, and the node is still Unknown, its reports don’t arrive. From the node, check that the API server’s address and port answer:

Terminal window
curl -k https://10.0.0.10:6443/healthz

A firewall change, a security group, or a full conntrack table on the node can cut it off. See Connection timed out vs refused to tell which one you have.

5. Meanwhile: the pods on it

Kubernetes taints a NotReady node with node.kubernetes.io/not-ready or node.kubernetes.io/unreachable. Pods tolerate that for 300 seconds by default, and are then evicted and recreated elsewhere, if there’s room. Pods that stay Terminating on an unreachable node are waiting to hear from it. To take a node out on purpose, for repairs:

Terminal window
kubectl cordon worker-1
kubectl drain worker-1 --ignore-daemonsets --delete-emptydir-data
# … fix it …
kubectl uncordon worker-1

Shell, we have a problem!

Similar, but different: Pending with Insufficient cpu means the nodes are Ready, and none has room. Evicted pods come from a node under pressure, which can still be Ready. The connection to the server … was refused is about reaching the API server from kubectl, not about nodes. For everyday commands, see the kubectl cheat sheet. Pods left in Terminating on a lost node: see stuck in Terminating.

Found this useful? Share it.

Found a mistake? Let us know at contact@ohsudo.com.

Articles

Related articles