The kubelet is the primary agent, that runs on every Node (k8s worker nodes) in k8s. It performs crucial tasks like:
- Registering a Node to the kube-apiserver.
- Ensuring that Pods and their containers are running, based on the Pod Object’s PodSpec schema, referenced via the k8s kind field.
- Reporting the status of the Pods to the kube-apiserver.
- Interacting with the container runtime on the Node for container-related operations.