Component interactions
Kubernetes components work collaboratively to ensure the microservices running inside the cluster are functioning as expected. If you deploy a microservice as a DaemonSet, then the Kubernetes components will make sure there will be one pod running the microservice in every node, no more, no less. So what happens behind the scenes? Let's look at a diagram to show the components' interaction at a high level:
A quick recap on what these components do:
- kube-apiserver: The Kubernetes API server (
kube-apiserver
) is a control plane component that validates and configures data for objects. - etcd:
etcd
is a high-availability key-value store used to store data such as configuration, state, and metadata. - kube-scheduler:
kube-scheduler
is a default scheduler for Kubernetes. It watches for newly created pods and assigns the pods to nodes. - kube-controller-manager...