What Is kubelet? How the Kubernetes Node Agent Works and How to Troubleshoot It
kubelet is the agent on each Kubernetes node that repeatedly brings the desired state of its assigned Pods into line with the containers actually running there. It receives Pod specifications, asks the container runtime to act through CRI, and reports runtime and node status to the Kubernetes API. Choosing a node for a Pod is the scheduler’s job; running and managing that assigned Pod on the node is kubelet’s job.
How does kubelet reconcile a Pod?
After a Pod is assigned to a node, its spec.nodeName identifies that node. The kubelet on the node receives changes through a watch connection to the API server or, for static Pods, reads specifications from a configured local source. It queues work and checks actual state in its sync loop. When needed, it uses the Container Runtime Interface (CRI) to ask the runtime to create or remove a Pod sandbox and start or stop containers. Runtime observations can trigger updates to Pod status.
Pod spec in API server, or static Pod file on the node
↓
kubelet work queue and sync loop
↓
reconcile Pod setup, volumes and node-local needs
↓ CRI
container runtime and Pod sandbox/containers
↓
report status and Events to API serverThis is not a one-time “start Pod” command. kubelet repeatedly reduces the difference between the specification and actual state, including runtime state, volume preparation and health checks. The status visible through the API can lag slightly behind what just happened on the node. See the official kubelet sync loop documentation for the work queue, Pod workers, CRI and runtime events.
How is kubelet different from the scheduler and runtime?
The scheduler selects a node for a Pod that has not yet been assigned. kubelet acts after that assignment and reconciles the Pod on its node. It is not a cluster-wide placement manager or a container runtime.
The runtime runs images and containers. Kubernetes kubelet communicates with it through CRI. An image-pull failure may involve the runtime, registry or credentials; a Pod still Pending because no node satisfies its placement constraints may not have reached kubelet at all. Diagnose the stage shown by Pod Events. For a broader node-component overview, see the verified Worker Node article.
Which Pod specifications does kubelet manage?
Most workload Pods are stored in the API server and created by controllers, then assigned by the scheduler. kubelet reconciles the Pods assigned to its node. A static Pod is different: kubelet reads its specification from a local file or configured path and runs it directly. An API-visible mirror Pod is only a representation for observation. Deleting the mirror from the API does not remove the node’s static Pod file, so kubelet can recreate it. To change a static Pod, manage the actual node file and the deployment tooling that owns it. Static Pod documentation
kubelet reports node status and heartbeats. If a Node Ready condition stops updating, the control plane may conclude that the node is unresponsive. This does not prove that every application request fails or that every Pod is unready. Read Node Ready, Pod Ready, and container state separately. Losing API-server connectivity does not mean every already-running container immediately stops, but it affects status reporting, receipt of new specifications and management. See Node status and node-to-control-plane communication.
Where should you start when a Pod does not start?
First establish whether the Pod has been assigned to a node. The commands below are generic read-only examples; names, permissions and log collection vary by distribution. Gather observations before changing node settings.
Run `kubectl describe pod <pod> -n <namespace>` and `kubectl get pod <pod> -n <namespace> -o wide`. Check `spec.nodeName`, status, conditions and Events. If `nodeName` is empty and Events cite resource shortage or affinity, investigate scheduling first; restarting kubelet may not address the cause.
If the Pod is assigned but its container does not start, use Events to identify the stage. `FailedScheduling` points to placement; `ErrImagePull` or `ImagePullBackOff` to image, registry or credentials; `FailedCreatePodSandBox` to runtime or network setup; and `FailedMount` to volume setup. Events are clues, not always the final root cause; compare them with component status and logs.
Inspect kubelet service status and logs on the node. On a systemd-based Linux node, `systemctl status kubelet` and `journalctl -u kubelet --since "30 min ago"` are common examples. Paths vary by operating system and distribution; managed nodes may require the provider’s console or diagnostic tool.
If kubelet logs show a CRI connection error, check the runtime service, configured runtime endpoint and socket permissions. If image pulls or sandbox creation fail for many Pods on the same node, investigate the runtime or node as a whole. `crictl` can inspect a CRI runtime, but its endpoint and permissions depend on the installation.
If kubelet cannot reach the API server, check the node’s DNS/network path to the API endpoint, kubeconfig and client-certificate validity, clock skew, and API-server health. For a newly registered node in `NotReady`, inspect Node Events and Lease heartbeats; determine whether the issue affects one Pod or the whole node.
After a fix, confirm that Pod Events and kubelet/runtime logs have recovered. Check not only that the container is running, but also readiness probes and the actual request path. Record before-and-after Node/Pod conditions and Events to help identify recurrence.
For example, if a Pod is Pending with repeated FailedScheduling Events, kubelet may not yet own that Pod. If it is assigned and then reports FailedCreatePodSandBox, inspect the node-local kubelet-to-CRI path. This is an illustrative diagnostic branch, not a report of a live-cluster test.
kubelet configuration and API security
kubelet settings may come from a distribution’s management tool, a KubeletConfiguration file, and some command-line arguments. Paths and precedence depend on the installation. Editing a systemd unit or managed ConfigMap directly can be overwritten by automation or prevent a node from registering; follow the platform’s configuration deployment and rollback process. Kubernetes documents setting kubelet parameters through a configuration file.
kubelet also exposes an HTTPS API used for operations such as log collection, exec/attach and port forwarding. It can grant powerful access to the node and containers. Restrict network reachability, configure authentication and authorization, and ensure the API server verifies the kubelet serving certificate. In particular, nodes/proxy permission is sensitive and should not be treated as read-only. Do not expose the kubelet endpoint publicly or weaken authentication; follow the kubelet authentication and authorization guidance and your cluster security policy.
Key takeaways
kubelet is neither the scheduler nor the runtime: it is the node agent that repeatedly reconciles assigned Pods. Separate “not scheduled yet” from failures in CRI, volumes or other node-local steps. Static Pods can be sourced from node files even when a mirror appears in the API, and the kubelet HTTPS API is a separate security boundary.
Sources
[Kubelet sync loop](https://kubernetes.io/docs/reference/node/kubelet-sync-loop/)
[Kubernetes node components](https://kubernetes.io/docs/concepts/architecture/nodes/)
[Create static Pods](https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/)
[Set kubelet parameters via a configuration file](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/)
[Kubelet authentication and authorization](https://kubernetes.io/docs/reference/access-authn-authz/kubelet-authn-authz/)
[Communication between nodes and the control plane](https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/)
Scope: general Kubernetes kubelet behavior, CRI relationship, static Pods, node status and security. Official docs were reviewed on 2026-11-23. Commands are examples and were not run against a cluster. Follow platform-specific documentation for logs and configuration paths.