2V0-71.23 Question 147
Select 4You are managing a workload cluster running Kubernetes on VMware Tanzu Kubernetes Grid (TKG). The cluster is currently using Kubernetes version 1.22, and your organization requires you to upgrade it to version 1.24. Which of the following steps must be performed to successfully upgrade the Kubernetes version on the workload cluster?
- A
Upgrade the management cluster to support Kubernetes version 1.24.
- B
Back up the workload cluster and its associated configuration.
- C
Upgrade the cluster using the Tanzu CLI by specifying the desired Kubernetes version.
- D
Directly modify the Kubernetes version in the cluster's configuration file and apply the changes.
- E
Ensure all cluster nodes have compatible operating system versions and dependencies for Kubernetes 1.24.
Show answer and explanation
Correct answers: A, B, C, E
Explanation
Upgrading the Kubernetes version on a workload cluster in VMware Tanzu Kubernetes Grid requires careful planning and execution. The management cluster must first support the target Kubernetes version to ensure compatibility. Backing up the cluster is a critical step for recovery in case of issues. The upgrade is initiated through the Tanzu CLI, which handles the process in a supported manner. Additionally, ensuring compatibility of OS versions and dependencies on cluster nodes is essential to prevent compatibility issues. Directly modifying configuration files is unsupported and can lead to cluster instability.
- A. Correct.
Correct. The management cluster must support the desired Kubernetes version before upgrading workload clusters. Tanzu Kubernetes Grid validates compatibility between the management cluster and workload clusters.
- B. Correct.
Correct. Backing up the workload cluster and its configuration ensures that you can recover from any issues during the upgrade process.
- C. Correct.
Correct. The Tanzu CLI provides commands to upgrade workload clusters in TKG by specifying the desired Kubernetes version.
- D. Incorrect.
Incorrect. Directly modifying the Kubernetes version in the configuration file and applying the changes is not a supported or safe method for upgrading Kubernetes versions.
- E. Correct.
Correct. Before upgrading, the operating system version and dependencies on workload cluster nodes must be compatible with the target Kubernetes version to avoid failures.