2V0-71.23 Question 207
Select 3You are managing a Tanzu Kubernetes Grid (TKG) cluster in a production environment. Due to increased application demand, you need to scale the worker nodes in the cluster from 3 to 5. What are the correct steps to scale the cluster up while ensuring minimal downtime?
- A
Edit the cluster configuration file to update the desired number of worker nodes and apply the changes using Tanzu CLI.
- B
Drain the existing worker nodes before adding new nodes to the cluster.
- C
Use the Tanzu CLI command
tanzu cluster scalewith the desired number of worker nodes. - D
Manually provision new worker node VMs and join them to the cluster using kubeadm.
- E
Verify the cluster state and worker node status after scaling using
kubectl get nodes.
Show answer and explanation
Correct answers: A, C, E
Explanation
Scaling a Tanzu Kubernetes Grid cluster involves updating the desired state either through the cluster configuration file or using Tanzu CLI commands. After scaling, verifying the cluster state ensures that the new worker nodes are properly added and operational. Draining nodes or manually provisioning VMs is not part of the scaling process and can lead to misconfigurations.
- A. Correct.
Correct. Editing the cluster configuration file and applying changes using Tanzu CLI is one of the standard ways to scale up a Tanzu Kubernetes Grid cluster.
- B. Incorrect.
Incorrect. Draining existing worker nodes is not required to scale up the cluster. Draining is used when preparing nodes for maintenance or removal.
- C. Correct.
Correct. Tanzu CLI provides a command to scale the cluster directly, allowing you to specify the desired size.
- D. Incorrect.
Incorrect. Manually provisioning and joining nodes is not a recommended or supported method for scaling Tanzu Kubernetes Grid clusters.
- E. Correct.
Correct. It is essential to verify the cluster state after scaling to ensure the new nodes are added and functioning correctly.