2V0-71.23 Question 209
Select 3You are managing a Tanzu Kubernetes Grid (TKG) workload cluster in a production environment. Due to increased application demand, you need to scale the cluster by adding more worker nodes. Which steps should you follow to scale the cluster up while ensuring minimal downtime?
- A
Edit the cluster configuration YAML file to increase the 'replicas' count for worker nodes and apply the changes using kubectl.
- B
Access the Tanzu Mission Control (TMC) interface, navigate to the cluster management section, and use the 'Scale Cluster' option to adjust the node count.
- C
Directly edit the kubelet configuration on an existing worker node to increase resource limits.
- D
Use the Tanzu CLI command 'tanzu cluster scale' to specify the desired number of worker nodes.
- E
Manually provision new virtual machines for additional worker nodes and join them to the cluster using kubeadm.
Show answer and explanation
Correct answers: A, B, D
Explanation
Scaling a Tanzu Kubernetes Grid (TKG) cluster can be achieved through various supported methods, such as editing configuration files, using Tanzu Mission Control (TMC), or leveraging the Tanzu CLI. These methods ensure that the cluster state is reconciled automatically while adhering to the desired configuration. Unsupported methods, such as manually editing kubelet configurations or provisioning nodes outside TKG's management, are not recommended and do not align with best practices.
- A. Correct.
Editing the cluster configuration YAML file is a valid approach for scaling a TKG cluster. Once the changes are applied using kubectl, the cluster will reconcile to match the desired state.
- B. Correct.
Tanzu Mission Control (TMC) provides a GUI-based option to scale clusters by adjusting the node count. This is a straightforward and supported method.
- C. Incorrect.
Modifying kubelet configuration on individual worker nodes does not scale the cluster. This approach is not aligned with Tanzu Kubernetes Grid's scaling best practices.
- D. Correct.
The Tanzu CLI command 'tanzu cluster scale' is a supported method to scale a cluster up or down by specifying the desired number of worker nodes.
- E. Incorrect.
Manually provisioning virtual machines and using kubeadm to join them to the cluster is not the correct method for scaling a TKG cluster. This bypasses Tanzu's automation and management features.