2V0-71.23 Question 146
Select 4You are responsible for managing a workload cluster deployed using VMware Tanzu Kubernetes Grid (TKG). You need to upgrade the Kubernetes version on the workload cluster while ensuring minimal downtime for running applications. Which of the following steps must you perform to successfully complete the Kubernetes version upgrade?
- A
Backup the workload cluster and its associated data before starting the upgrade process.
- B
Upgrade the control plane nodes of the workload cluster to the desired Kubernetes version.
- C
Directly delete and recreate all worker nodes with the new Kubernetes version.
- D
Upgrade the worker nodes of the workload cluster to match the upgraded control plane version.
- E
Verify the compatibility of the new Kubernetes version with the existing cluster components, such as CNI and CSI plugins, before starting the upgrade.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
Upgrading a Kubernetes workload cluster in VMware Tanzu Kubernetes Grid (TKG) involves a series of well-defined steps to ensure a smooth transition. The process includes taking a backup, verifying version compatibility, upgrading the control plane, and then upgrading the worker nodes. Skipping any of these steps or performing unsupported actions, such as deleting and recreating nodes, can lead to significant disruptions and potential data loss.
- A. Correct.
Correct. Taking a backup of the workload cluster and its data ensures that you can recover from any issues that may arise during the upgrade process.
- B. Correct.
Correct. Upgrading the control plane nodes is a required step when upgrading the Kubernetes version, as the control plane manages the cluster’s state and requires the new version first.
- C. Incorrect.
Incorrect. Deleting and recreating worker nodes is not a standard or recommended method for upgrading Kubernetes versions. Instead, existing worker nodes should be upgraded in place.
- D. Correct.
Correct. After upgrading the control plane, the worker nodes must also be upgraded to ensure compatibility and cluster functionality.
- E. Correct.
Correct. Verifying the compatibility of the new Kubernetes version with existing components, such as CNI (Container Network Interface) and CSI (Container Storage Interface) plugins, avoids potential compatibility issues during or after the upgrade.