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

  • API server – It contains all the APIs provided by K8s. It acts as the front-end, we access via REST. It is like ears in human body, it receive the things.
  • Cluster store – All the requests / data stored in cluster store. etcd is the storage unit use by k8s. It is like brain in human body. There is only one cluster store in a master.
  • Controller Manager – It is manager of all the controllers. One controller is there for one item. Ex: node controller, end-point controller. It is like eyes in human body.
  • Kube scheduler – It is always watch api servers and assign work to nodes. It is like mouth in human body. There is only one kube-scheduler in a master.