How to upgrade an AKS cluster created by pltf.
Overview
AKS does not auto-upgrade clusters by default. Upgrade one minor version at a time and validate workloads between steps.
Step 1: Control plane
- Inspect available versions:
- Upgrade the control plane:
Step 2: Node pools
Upgrade each node pool after the control plane:
az aks nodepool upgrade \
--resource-group pltf-<env> \
--cluster-name <cluster> \
--name <node-pool> \
--kubernetes-version <version>
Step 3: Pin versions in specs
Update your spec so future applies stay consistent:
Then:Notes
- Review API deprecations and add-on compatibility before upgrading.
- Upgrade node pools one at a time to reduce impact.
References
- AKS upgrades: https://learn.microsoft.com/azure/aks/upgrade-cluster