VMware vRealize Automation 8.x (VCP-CMA 2021) — Question 18
Select the tkg cli command below that provides valid syntax for scaling a Tanzu Kubernetes Grid cluster:
Answer options
- A. tkg scale cluster_name --cp-machine-count 5 --node-count 10
- B. tkg scale cluster cluster_name --controlplane-machine-count 5 --worker-machine-count 10
- C. tkg scale cluster_name --controlplane-machine-count 5 --worker-machine-count 10
- D. tkg scale cluster cluster_name --cp-machine-count 5 --node-count 10
Correct answer: B
Explanation
Option B is correct because it uses the appropriate flags '--controlplane-machine-count' and '--worker-machine-count', which are required for scaling a Tanzu Kubernetes Grid cluster. The other options either use incorrect flag names or lack the necessary structure, making them invalid for this command.