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

  • kubelet – This is the main K8s agent. It inistantiates the pods in the node. It helps to register nodes with cluster. Its always watch the api server.
  • kube-proxy – Its support for K8s networking. It provide ip address for the pods. Each pods inside a node will have same ip address. 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.
  • container runtime – to run containers on the node.