2V0-71.23 Question 84
Select 3You are tasked with deploying a Tanzu Kubernetes Grid (TKG) workload cluster on a VMware vSphere environment. To ensure a consistent and repeatable deployment process, you decide to use a YAML configuration file to define cluster parameters. During the deployment, you encounter an error indicating that the cluster cannot connect to the Container Registry. Which of the following actions should you take to resolve the issue?
- A
Verify that the Container Registry credentials are correctly specified in the YAML configuration file.
- B
Ensure that the Kubernetes nodes have network connectivity to the Container Registry.
- C
Check if the Container Registry is listed as a trusted registry in the Tanzu Kubernetes Grid Control Plane.
- D
Confirm that the required Container Registry images are preloaded on the Kubernetes nodes.
- E
Update the YAML file with the correct ClusterRoleBindings to allow access to the registry.
Show answer and explanation
Correct answers: A, B, C
Explanation
When deploying a Tanzu Kubernetes Grid workload cluster, connectivity to the Container Registry is critical to pulling the required container images. Ensuring that the YAML configuration includes valid credentials, verifying network connectivity, and confirming the registry is trusted are essential steps to resolve connectivity issues. Preloading images and modifying ClusterRoleBindings are unrelated to this specific problem.
- A. Correct.
Correct. The YAML configuration file must include valid credentials for the Container Registry. Incorrect or missing credentials can prevent the cluster from authenticating and pulling images.
- B. Correct.
Correct. The Kubernetes nodes need network connectivity to the Container Registry to pull required images. Network issues such as firewall rules or DNS resolution errors can cause this failure.
- C. Correct.
Correct. Tanzu Kubernetes Grid requires the Container Registry to be configured as a trusted registry to ensure secure deployment of container images.
- D. Incorrect.
Incorrect. While preloading images can speed up deployment, it is not a requirement to resolve registry connectivity issues during the deployment process.
- E. Incorrect.
Incorrect. ClusterRoleBindings control access to Kubernetes resources within the cluster, not external components like the Container Registry.