Use it when a node is NotReady or pods on one node do not start.
Kubelet
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.
1. kubectl describe node <n> — conditions and events.
2. On node: systemctl status kubelet, journalctl -u kubelet -e.
3. Runtime reachable (crictl info).
4. Disk/memory pressure.
5. Certificate rotation.
kubelet → API server (node status) → pods assigned → runtime → status
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
systemctl status kubeletVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 How to verify Verify boundary
Check kubelet logs for certificate, CRI or cgroup errors. Confirm the node's Ready condition and lease are recent. Confirm the runtime socket path in the kubelet config is correct.
Step 2 Checks Verify boundary
systemctl status kubelet
journalctl -u kubelet --since "30 min ago"
kubectl describe node <node> # conditions: Ready, MemoryPressure, DiskPressure, PIDPressure
kubectl get node <node> -o jsonpath='{.status.allocatable}'
A node becomes NotReady when the kubelet stops reporting (crash, certificates expired, container runtime down, network). Disk pressure triggers image garbage collection and Pod eviction.
Step 3 Common failures Narrow the fault
Expired kubelet client certificates make the node NotReady. Swap enabled without configuration stops older kubelets. Disk pressure triggers image garbage collection and Pod evictions.
Check systemctl status kubelet and its journal. Node pressure conditions (memory, disk, PID) cause evictions. Certificates must be valid.
kubectl describe node <n>— first check for this topickubectl get pods -o wide— pods, status, node, IPkubectl describe pod <pod>— events and conditionskubectl logs <pod> [-c <c>] [--previous]— container logs (incl. previous crash)kubectl get events --sort-by=.lastTimestamp— recent cluster events
ReferenceWhat it is1 section · depth on demand
How it works
The kubelet watches the API server for Pods with its node name, creates the sandbox and containers through the runtime, runs probes and updates Pod status. It also evicts Pods when node resources run low.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
The kubelet is the node agent. It registers the node, keeps a lease updated, starts Pods through the CRI runtime, runs probes, mounts volumes and reports status.
Node conditions and what they trigger
| Condition | Set when | Effect |
|---|---|---|
Ready=False/Unknown | Kubelet unhealthy or lease not renewed | After a timeout Pods are evicted by taint-based eviction |
MemoryPressure | Available memory below eviction threshold | BestEffort, then Burstable Pods evicted |
DiskPressure | nodefs or imagefs low | Image garbage collection, then Pod eviction |
PIDPressure | PIDs running out | Pod eviction |
Default hard eviction thresholds include memory.available<100Mi and nodefs.available<10%; they are set in the kubelet configuration (evictionHard).
Worked check — node NotReady
kubectl describe node worker2 | sed -n '/Conditions/,/Addresses/p'
kubectl -n kube-node-lease get lease worker2 -o jsonpath='{.spec.renewTime}'
journalctl -u kubelet --since -15m | grep -E 'E[0-9]{4}' | tail
Typical log causes: x509: certificate has expired (rotate kubelet client certificates), container runtime is down (containerd stopped or socket path wrong), failed to get cgroup stats / misconfiguration: kubelet cgroup driver (cgroupDriver mismatch with the runtime).
Configuration file
Modern clusters configure the kubelet with /var/lib/kubelet/config.yaml (KubeletConfiguration) rather than flags; check there for cgroupDriver, evictionHard, containerLogMaxSize and maxPods.
Common mistakes
- Kubelet and control plane version skew outside support.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.