You need to upgrade a production AKS cluster from 1.31 to 1.33. Plan it.
AdvancedScenarioAKS and Containers
Answer
Situation read → Two minor hops, deprecated API checks, PDB review, staged rollout.
What I'd do →
- Check removed APIs for 1.32 and 1.33 (use
kubentorpluto detect-helm, and the AKS deprecated API detection in the portal) - Upgrade dev and staging clusters first and run tests
- Prod:
az aks upgrade --control-plane-only --kubernetes-version 1.32.x, then node pools one by one with--max-surge 33% - Watch:
kubectl get nodes -w, events, error rates - Repeat for 1.33
- Have PDBs that allow at least one disruption, and quota for surge nodes
Why → Control plane first, nodes after, one minor at a time is the only supported path, and staging catches API removals.
Interview tip → Mention quota for surge nodes; upgrades fail on it more than people expect.
More on AKS and Containers
You're asked to build a production AKS cluster. Walk through your key decisions.IntermediateA team wants to deploy a new microservice to AKS that reads a database password. How do you wire secrets?BeginnerPods need to scale on Service Bus queue length, not CPU. How?AdvancedYou need to run a GPU workload on an existing AKS cluster. What do you do?IntermediateA noisy application keeps starving other workloads on shared nodes. How do you fix it?BeginnerYou must move an AKS workload from one cluster to a new cluster with zero downtime.Advanced