In a Kubernetes cluster, what is the primary role of etcd?

Study for the Kubernetes Certified Network Administrator Exam. Our test offers comprehensive flashcards, multiple-choice questions, and detailed explanations. Be confident for your exam!

Multiple Choice

In a Kubernetes cluster, what is the primary role of etcd?

Explanation:
etcd is the persistent backing store for the Kubernetes control plane, holding the cluster’s state and configuration. All changes to Kubernetes objects go through the API server, which writes them to etcd, and reads from etcd to report the current state. This makes etcd the single source of truth for the cluster, and its data is replicated across members to provide fault tolerance and enable recovery. Because etcd stores sensitive cluster data, it must be secured and backed up. Similarly, running containers on nodes, making scheduling decisions, and providing DNS are handled by other components: container runtimes (via kubelet) on each node perform execution, the scheduler determines where pods run, and CoreDNS (or kube-dns) provides DNS for services.

etcd is the persistent backing store for the Kubernetes control plane, holding the cluster’s state and configuration. All changes to Kubernetes objects go through the API server, which writes them to etcd, and reads from etcd to report the current state. This makes etcd the single source of truth for the cluster, and its data is replicated across members to provide fault tolerance and enable recovery. Because etcd stores sensitive cluster data, it must be secured and backed up.

Similarly, running containers on nodes, making scheduling decisions, and providing DNS are handled by other components: container runtimes (via kubelet) on each node perform execution, the scheduler determines where pods run, and CoreDNS (or kube-dns) provides DNS for services.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy