Bitzu

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

Single choice

Which control plane component is the only one that reads and writes etcd directly on behalf of everything else?

  1. kube-scheduler
  2. kube-controller-manager
  3. kubelet
  4. 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.

Select all that apply

Which of these are control plane components?

  1. kube-apiserver
  2. kubelet
  3. etcd
  4. kube-proxy
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More KCNA topics in this module