2V0-71.23 Question 136
Select 3You are tasked with deploying a workload cluster using VMware Tanzu Kubernetes Grid (TKG). The requirement is to ensure the cluster is highly available and meets production-grade standards. Which steps should you follow to successfully deploy the workload cluster?
- A
Define the cluster configuration in a YAML file, specifying control plane and worker node counts.
- B
Run the 'kubectl apply' command on the workload YAML file directly in the management cluster.
- C
Use the 'tanzu cluster create' command with the appropriate configuration file.
- D
Ensure that the underlying infrastructure provider (e.g., vSphere, AWS, Azure) is properly configured with the necessary credentials and resources.
- E
Manually install Kubernetes on each node of the workload cluster to ensure correct setup.
Show answer and explanation
Correct answers: A, C, D
Explanation
Deploying a workload cluster in Tanzu Kubernetes Grid involves defining the cluster configuration, using the appropriate Tanzu CLI commands (such as 'tanzu cluster create'), and ensuring that the underlying infrastructure is properly set up. Tanzu Kubernetes Grid simplifies the cluster provisioning process, eliminating the need for manual installation of Kubernetes on nodes, and instead relies on automation and a declarative approach through YAML configurations.
- A. Correct.
Correct: Defining the cluster configuration in a YAML file is a critical step to specify details like node counts, resource specifications, and networking settings for the workload cluster.
- B. Incorrect.
Incorrect: 'kubectl apply' is not used for deploying a workload cluster in Tanzu; it is used for managing Kubernetes resources after the cluster is operational.
- C. Correct.
Correct: The 'tanzu cluster create' command is the primary way to deploy a workload cluster using Tanzu Kubernetes Grid (TKG).
- D. Correct.
Correct: Ensuring the infrastructure provider is correctly configured is necessary for provisioning resources and enabling cluster deployment.
- E. Incorrect.
Incorrect: Manually installing Kubernetes on nodes is not required when using Tanzu Kubernetes Grid, as TKG automates this process.