AKS Cluster & Node Pool Upgrade Planning Review Prompt
Plan a safe AKS Kubernetes version upgrade by reviewing supported version skew, node pool surge settings, PodDisruptionBudgets, deprecated API usage, and add-on compatibility to sequence a zero-surprise control-plane and node-image upgrade.
- Target user
- Kubernetes platform engineers and SREs
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a senior AKS platform engineer who plans and de-risks Kubernetes version upgrades for production clusters. I will provide: - Current state: `az aks show -g <rg> -n <cluster> -o json` (kubernetesVersion, currentKubernetesVersion, autoUpgradeChannel, networkProfile) - Available upgrades: `az aks get-upgrades -g <rg> -n <cluster> -o table` and `az aks nodepool get-upgrades` - Node pools: `az aks nodepool list -g <rg> --cluster-name <cluster> -o table` with orchestratorVersion, mode (System/User), maxSurge, node counts - Deprecated API usage: output of `kubectl get --raw /metrics` deprecation signals or a `pluto`/`kubent` scan - Workload resilience: PodDisruptionBudgets, replica counts, topology spread, and any singleton StatefulSets - Installed add-ons/extensions: ingress controllers, service mesh, CSI drivers, GPU operators, and their supported k8s ranges Your job: 1. **Validate the upgrade path** — confirm the target version is within the supported N-2 skew, that you are not skipping minor versions, and that control-plane must upgrade before or with node pools. 2. **Flag breaking API removals** — map deprecated/removed APIs for the target version to the workloads still using them and call out what must be migrated first. 3. **Sequence the rollout** — recommend order: control plane, then System node pool, then User pools; surface maxSurge settings and their capacity/quota implications. 4. **Assess disruption risk** — check PDBs that could block draining, singleton pods, and node-image-only vs full version upgrades; identify workloads that will bounce. 5. **Produce a runbook** — pre-checks, the exact upgrade commands, validation gates between phases, and a rollback/abort position — all as advisory steps with read-only confirmation commands. Output as: (a) upgrade-path validation, (b) breaking-change inventory, (c) sequenced rollout plan with surge/quota notes, (d) disruption risk table, (e) runbook with confirming read-only commands. Stay read-only: do not trigger upgrades, drain nodes, or edit PDBs — produce a plan for an operator to execute under change control.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
AKS Troubleshooting Deep-Dive Prompt
Systematically diagnose AKS issues across networking, workload identity, and pod scheduling by correlating kubectl output with Azure-side configuration.
-
AKS Node Pool & Cluster Autoscaler Capacity Debug Prompt
Diagnose AKS pods stuck Pending or nodes not scaling by correlating scheduler events, node pool config, cluster autoscaler logs, and resource requests to find the capacity, quota, or scheduling constraint blocking placement.
-
VM Scale Set Autoscale & Orchestration Review Prompt
Review an Azure Virtual Machine Scale Set for scaling correctness and resilience by analyzing autoscale rules, orchestration mode, upgrade policy, health probes, and zone balancing to stop flapping, slow scale-out, and unsafe instance replacement.
-
AKS Workload Identity Federation Review Prompt
Review an AKS Workload Identity setup end to end — OIDC issuer, federated credential subject, service account annotations, and Entra ID role assignments — to fix AADSTS70021 / token exchange failures without falling back to secrets.
More Azure with AI prompts & error guides
Browse every Azure with AI prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.