2V0-71.23 Question 204
Select 3You are managing a Tanzu Kubernetes Grid (TKG) environment, where you need to upgrade a Tanzu Kubernetes cluster to a newer Kubernetes version while ensuring all workloads remain operational. Which of the following actions are necessary to safely perform the cluster upgrade process?
- A
Upgrade the management cluster before upgrading Tanzu Kubernetes clusters.
- B
Directly replace all worker nodes in the cluster with nodes running the new Kubernetes version.
- C
Perform the upgrade through the Tanzu CLI by specifying the target version of Kubernetes for the cluster.
- D
Verify compatibility of the new Kubernetes version with the current versions of cluster add-ons such as CNI, CSI, and logging solutions.
- E
Manually delete all old pods from the Kubernetes cluster after the upgrade is completed.
Show answer and explanation
Correct answers: A, C, D
Explanation
Upgrading a Tanzu Kubernetes cluster involves several key steps: first upgrading the management cluster to support the new Kubernetes version, using the Tanzu CLI for the upgrade process, and ensuring compatibility of cluster add-ons. Skipping these steps or performing them incorrectly could result in instability or downtime.
- A. Correct.
Correct. The management cluster must be upgraded first to ensure it can manage the new versions of Tanzu Kubernetes clusters.
- B. Incorrect.
Incorrect. Replacing all worker nodes directly without following the proper upgrade process could cause downtime and disrupt workloads.
- C. Correct.
Correct. Upgrading the cluster through the Tanzu CLI is the recommended approach, as it ensures the upgrade process follows TKG's lifecycle management best practices.
- D. Correct.
Correct. Verifying compatibility of the new Kubernetes version with cluster add-ons is critical to avoid issues during or after the upgrade.
- E. Incorrect.
Incorrect. Manually deleting old pods is not necessary; Kubernetes handles pod restarts and scheduling automatically during upgrades.