What are the components of Kubernetes worker and explain each component’s function?

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

The components of K8s worker node are
1. kubelet – Kublet is the main K8s agent. It instantiate the pods in the node(only instantiate not create). It helps to register nodes with cluster. Its always watch the api server.
It decides who is the master.
10255 is the endpoint.
2. kube-proxy – Its support for K8s networking. It assigns the ip address for the pods. Each pods inside a node will have same ip address. Load balances across all pods in a service.
kube-proxy rules
– All pods communicate with each other on all nodes.
– All nodes communicate with all pods
– No network address translation – NAT
– pod – It is an atomic unit of scheduler in K8s. It contains one or more containers.