Node pool upgrade at scale with maxSurge
book
Article ID: 325375
calendar_today
Updated On:
Products
VMware Telco Cloud Automation
Issue/Introduction
The purpose of this document is to provide a detailed description of the procedure for performing a rolling upgrade of a node pool.
Note: Running maxSurge will require extra resources within the infrastructure.
Resolution
Pre-requisites
- Ensure the workload cluster is in a healthy state by running cluster diagnostics to confirm its overall health.
- Verify that the network function is up and running by conducting pre-checks to ensure the application is healthy.
- Before beginning the node pool upgrade, schedule a maintenance window or implement traffic isolation.
Procedure
- Upgrade the control plane for the workload cluster to the tbr-bom-2.3.0-v1.24.10 BOM version.
- Upgrade the node pool to the tbr-bom-2.3.0-v1.24.10 BOM version.
- Under the Edit node pool panel, select the tbr-bom-2.3.0-v1.24.10 BOM version and update the VM template.
- Manually modify the TCAnodepool CR to update the TKG upgrade strategy as illustrated below:
In this example the workload cluster is wc04 and the node pool is np1:
strategy:
rollingUpdate:
maxSurge: 4
maxUnavailable: 0
type: RollingUpdate
- After completing the node pool upgrade, ensure that the testNF pods have returned to the running state.
- Verify if the testNF application has been restored to its previous state after the upgrade.
- Check if the application is functioning as expected and has returned to its original state.
Feedback
thumb_up
Yes
thumb_down
No