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

There are mainly four components in kubernetes master.They are:

  1. Api server: Contains all apis available in k8s.Each api is a feature .Api server accepts input in JSON format
  2. Cluster store : Cluster store is the source of truth of a master.All requested datas are store in cluster store.It uses etcd
  3. Controller -Controller watches for changes in worker nodes.
  4. Kube scheduler -Assigns pods to nodes