A node is NotReady. Where do I start?
To troubleshoot a Kubernetes node that is NotReady, first check whether Syself Autopilot is already repairing it. Syself Autopilot reboots an unhealthy node and replaces it if needed.
On the management cluster, look at the Machines:
kubectl get machines
kubectl describe machine <machine-name>
A Machine in the Provisioning or Deleting phase means a replacement is running. The conditions on the Machine show whether the health check marked it unhealthy.
If nothing is in progress, read the node conditions on the workload cluster:
kubectl describe node <name>
The conditions often name the cause, for example KubeletUnhealthy, KubeletHeartbeatFailed, CNIUnhealthy or ServiceNotRecovering. When Ready is Unknown, the node no longer reports, so these conditions can be out of date. If a condition is new to you, look it up in Node health conditions.
For the logs, SSH into the node and read the kubelet and containerd logs of this boot:
journalctl -u kubelet -b
journalctl -u containerd -b
For a support case, collect them as described in Collect logs and events.
For the common failures and their fix, see Debug a node. If the node answers nothing at all, see My machine is unreachable over SSH and kubectl. What do I do?
Related questions
