concept
Node conditions and kubelet
The kubelet is the agent on a node that works to keep the node’s assigned Pods running. It reports node and workload state to the API server and uses a container runtime to manage containers. Start a node investigation by comparing a Node object with its heartbeat Lease, pressure conditions and recent workload failures. A node can report Ready=True while an individual application is unhealthy; Ready=False indicates reported node unhealthiness, whereas Ready=Unknown indicates the control plane no longer has sufficiently fresh heartbeat evidence. Neither identifies the root cause. All commands here are static, require a separately approved disposable cluster and explicit lab credentials, and must not be executed against an unknown context.
Formal Syntax & Structure
kubernetes syntaxkubernetes
Node.status.conditions + Lease.spec.renewTime + Node.spec.unschedulableWorking Example
Example Snippetkubernetes
kubectl --kubeconfig ./lab.kubeconfig --context bm-lab get node worker-akubectl --kubeconfig ./lab.kubeconfig --context bm-lab describe node worker-akubectl --kubeconfig ./lab.kubeconfig --context bm-lab -n kube-node-lease get lease worker-a -o json