Understanding the worker node components
Worker nodes, as implied by their name, have the duty of carrying out tasks within a Kubernetes cluster. In our previous conversation about the kube-scheduler
element in the control plane, we emphasized that when a new pod requires scheduling, the kube-scheduler selects the suitable node for its execution. The kube-scheduler relies on data provided by the worker nodes to make this determination. This data is regularly updated to ensure a distribution of pods throughout the cluster, making the most of the cluster resources.
Each worker node has two main components, kubelet
and kube-proxy
.
kubelet
You may hear a worker node referred to as a kubelet
. The kubelet
is an agent that runs on all worker nodes, and it is responsible for ensuring that containers are running and healthy on the node.
kube-proxy
Contrary to the name, kube-proxy
is not a proxy server at all (though it was in the original version of Kubernetes).
Depending...