2V0-71.23 Question 188
Single answerYou are responsible for deploying Tanzu Kubernetes Grid (TKG) in your organization's multi-cloud environment. The organization requires a highly available control plane and wants to ensure optimal performance in case of node failures. Which configuration should you use during the TKG cluster creation?
- A
Use a single control plane node and enable auto-healing for worker nodes.
- B
Deploy a control plane with three nodes and use an external load balancer.
- C
Configure a single control plane node and use a Kubernetes Ingress controller for load balancing.
- D
Deploy a control plane with three nodes and enable anti-affinity rules for placement.
Show answer and explanation
Correct answer: B
Explanation
To achieve high availability for the control plane in Tanzu Kubernetes Grid (TKG), it is recommended to deploy a three-node control plane with an external load balancer. This configuration ensures that the cluster remains operational even in the event of a control plane node failure. While other configurations may address partial concerns, they do not satisfy the requirement for both high availability and optimal performance.
- A. Incorrect.
Using a single control plane node does not provide high availability. If the control plane fails, the cluster will become inoperable, even if worker nodes are auto-healing.
- B. Correct.
Deploying a control plane with three nodes and an external load balancer ensures high availability by distributing the load and maintaining functionality even if one control plane node fails.
- C. Incorrect.
A single control plane node does not provide high availability, and a Kubernetes Ingress controller is typically used for application traffic routing, not control plane load balancing.
- D. Incorrect.
Although deploying a three-node control plane with anti-affinity rules can help with node placement, this alone does not provide load balancing, which is essential for high availability.