Kubernetes and Cloud Native Associate (KCNA) — Question 69
How many hosts are required to set up a highly available Kubernetes cluster when using an external etcd topology?
Answer options
- A. Four hosts. Two for control plane nodes and two for etcd nodes.
- B. Four hosts. One for a control plane node and three for etcd nodes.
- C. Three hosts. The control plane nodes and etcd nodes share the same host.
- D. Six hosts. Three for control plane nodes and three for etcd nodes.
Correct answer: D
Explanation
The correct answer is D, as a highly available setup requires three separate control plane nodes and three etcd nodes to ensure redundancy and fault tolerance. Option A is incorrect because it does not provide enough hosts for both control plane and etcd redundancy. Option B is also incorrect as it underestimates the number of hosts needed for a highly available configuration. Option C is wrong because sharing hosts compromises availability, which goes against the goal of high availability.