KCNA ยท Kubernetes core concepts
Control plane components
kube-apiserver, etcd, kube-scheduler, kube-controller-manager, cloud-controller-manager and their roles.
Key points
- The control plane makes global decisions about the cluster. kube-apiserver is the front door that exposes the Kubernetes API; etcd is the consistent key-value store holding cluster state; kube-scheduler assigns unscheduled Pods to nodes; kube-controller-manager runs the controllers that push actual state toward desired state; cloud-controller-manager (optional) links the cluster to a cloud provider's APIs.
Source: https://kubernetes.io/docs/concepts/overview/components/
Practice questions
Which control plane component is the only one that reads and writes etcd directly on behalf of everything else?
- kube-scheduler
- kube-controller-manager
- kubelet
- kube-apiserver
Show answer
Answer: D. kube-apiserver
All other components talk to the API server, and the API server persists state in etcd. The scheduler and controller manager are API clients, not etcd clients.
Which of these are control plane components?
- kube-apiserver
- kubelet
- etcd
- kube-proxy
- kube-scheduler
Show answer
Answer: A. kube-apiserver, C. etcd, E. kube-scheduler
kube-apiserver, etcd and kube-scheduler form the control plane. kubelet and kube-proxy are node components that run on every node.
kube-scheduler starts the containers of a Pod on the node it chose.
Show answer
Answer: False
The scheduler only decides which node a Pod goes to by recording the binding. The kubelet on that node then starts the containers.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
