2V0-71.23 Question 138
Select 3You are tasked with deploying a workload cluster using Tanzu Kubernetes Grid (TKG) on vSphere. During the deployment, you need to ensure that the cluster is properly configured with high availability, uses a specific version of Kubernetes, and integrates with an external load balancer. Which steps must you take to successfully deploy the workload cluster?
- A
Define a cluster configuration YAML file specifying the desired Kubernetes version, high availability settings, and load balancer details.
- B
Run the 'kubectl apply' command with the cluster configuration YAML file to deploy the workload cluster.
- C
Use the 'tanzu cluster create' command with the cluster configuration YAML file to deploy the workload cluster.
- D
Ensure the TKG management cluster is running and has sufficient resources to create the workload cluster.
- E
Manually configure the external load balancer after the cluster is deployed.
Show answer and explanation
Correct answers: A, C, D
Explanation
To deploy a workload cluster in Tanzu Kubernetes Grid, you need to define a configuration YAML file with the desired settings (such as Kubernetes version, high availability, and load balancer integration), ensure the TKG management cluster is operational, and use the 'tanzu cluster create' command. These steps ensure the workload cluster is deployed successfully and meets the specified requirements. Manual configuration of the load balancer after deployment is unnecessary if the settings are pre-defined in the configuration file.
- A. Correct.
Defining a cluster configuration YAML file is a critical step to specify the desired cluster settings, including the Kubernetes version, high availability requirements, and integration with an external load balancer.
- B. Incorrect.
The 'kubectl apply' command is not used for deploying workload clusters in TKG. This command is typically used for Kubernetes resource management, not cluster deployment.
- C. Correct.
The 'tanzu cluster create' command is the correct command to deploy a workload cluster in TKG based on the configuration YAML file.
- D. Correct.
The TKG management cluster must be running and have sufficient resources to create and manage the workload cluster, as it orchestrates workload cluster deployment.
- E. Incorrect.
Manually configuring the external load balancer after deployment is not necessary if the configuration YAML file already includes the required load balancer settings.