Which component stores the cluster state in Kubernetes?

Study for the Kubernetes Cloud Native Associate (KCNA) Certification 1 Test. Master the core concepts of Kubernetes with multiple-choice questions and detailed explanations. Prepare and boost your confidence for the KCNA certification exam!

Multiple Choice

Which component stores the cluster state in Kubernetes?

Explanation:
etcd is the distributed key-value store that acts as the source of truth for the entire cluster. The API server writes and reads all Kubernetes objects and their state to etcd, so etcd holds the persistent cluster state. Other components like the kubelet run on individual nodes and talk to the API server to reconcile workloads; they don’t store the cluster’s state themselves. The container runtime (Docker) is just the on-node execution engine and likewise doesn’t hold the cluster’s state. Because etcd is designed to be highly available and strongly consistent, it is the correct place to store the cluster’s state.

etcd is the distributed key-value store that acts as the source of truth for the entire cluster. The API server writes and reads all Kubernetes objects and their state to etcd, so etcd holds the persistent cluster state. Other components like the kubelet run on individual nodes and talk to the API server to reconcile workloads; they don’t store the cluster’s state themselves. The container runtime (Docker) is just the on-node execution engine and likewise doesn’t hold the cluster’s state. Because etcd is designed to be highly available and strongly consistent, it is the correct place to store the cluster’s state.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy