2V0-71.23 Question 202
Select 3You are managing a Tanzu Kubernetes Grid (TKG) environment for a multi-cloud deployment. Your organization needs to update the Kubernetes version on a specific Tanzu Kubernetes Cluster to meet security compliance. Which actions are required to perform a successful cluster upgrade in Tanzu Kubernetes Grid?
- A
Upgrade the Tanzu Kubernetes Grid management cluster before upgrading any workload clusters.
- B
Directly upgrade the Kubernetes version on the workload cluster nodes without updating the machine templates.
- C
Ensure that the new Kubernetes version is supported by the currently installed version of Tanzu Kubernetes Grid.
- D
Back up the etcd data and workload cluster configurations before proceeding with the upgrade.
- E
Delete all existing workload clusters and recreate them with the desired Kubernetes version.
Show answer and explanation
Correct answers: A, C, D
Explanation
Cluster lifecycle management in Tanzu Kubernetes Grid involves following a structured process to upgrade clusters. The management cluster must be upgraded first to ensure compatibility, and the workload cluster upgrade must follow supported paths. Backups are critical for safeguarding against potential failure. Direct manipulation of cluster nodes or recreating clusters manually is not aligned with TKG’s lifecycle management capabilities.
- A. Correct.
Correct: The management cluster must be upgraded first since it controls the lifecycle of workload clusters. Upgrading the workload clusters before updating the management cluster is not supported.
- B. Incorrect.
Incorrect: Directly upgrading the Kubernetes version on the workload cluster nodes bypasses Tanzu’s lifecycle manager and is not recommended. Machine templates must be updated as part of the process.
- C. Correct.
Correct: Tanzu Kubernetes Grid has specific compatibility requirements for Kubernetes versions. The new version must be supported to avoid cluster issues.
- D. Correct.
Correct: Backing up etcd data and workload cluster configurations ensures that you can recover from any unexpected failures during the upgrade process.
- E. Incorrect.
Incorrect: Deleting and recreating workload clusters is unnecessary and goes against the purpose of Tanzu Kubernetes Grid, which provides lifecycle management for upgrading clusters.