Kubernetes Architecture — Node Processes
Kubernetes is a container orchestration tool that is helpful to run applications in production, orchestrate the connectivity between the containers and automatically scale up or down based on the load.
We will be looking at the main process run by one of its main components: Worker nodes
Worker nodes do all the heavy lifting in our Kubernetes cluster. Each node has multiple pods in it and each pod usually contains one container.
There are three processes that are run on every worker node:
- Container Runtime
- Kubelet
- Kube Proxy
Container Runtime
You need to install a container runtime into each node in the cluster so that Pods can run there. By default the container runtime for Kubernetes is Docker but other alternatives to Docker are Rocket and CRIO.
Kubelet
The kubelet agent is responsible for interacting with the master node to provide health information of the worker node and carry out
actions requested by the master on the worker nodes. It schedules pods as necessary and is the only process that can interact with both the container and node.
Kube Proxy
Kube Proxy is a network proxy that runs on each node in your cluster and helps connect the k8s services to each other. It maintains the networking rules in your node and is an essential part on your node.
Hope this article was useful! Thank you for reading :)