Pcornel
Containers · Kubernetes Architecture

Kubelet

Cheat sheet · https://pcornel.dk/topic.php?topic=6142

Back to the Topic

Answer

kubelet is the node agent: it registers the node, watches pods assigned to it, starts containers through the runtime, runs probes, mounts volumes and reports status.

Remember

Check systemctl status kubelet and its journal. Node pressure conditions (memory, disk, PID) cause evictions. Certificates must be valid.

First checks

  • kubectl describe node <n> — first check for this topic
  • kubectl get pods -o wide — pods, status, node, IP
  • kubectl describe pod <pod> — events and conditions
  • kubectl logs <pod> [-c <c>] [--previous] — container logs (incl. previous crash)
  • kubectl get events --sort-by=.lastTimestamp — recent cluster events

Verify in this order

kubelet → API server (node status) → pods assigned → runtime → status

Where it usually breaks

Expired kubelet client certificates make the node NotReady.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6142

Confirmation

Confirm action

Continue?