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

kube-api-server The API server is the front end for the kube master

etcd – act as cluster data storage

Scheduler assign tasks to the worker node

controller manager manages the desire number of pods and notifies if something goes down