AKS lifecycle and cost plan
Version and upgrade planning
AKS has its own supported version and release availability; upstream releases do not automatically become available in a particular Azure region. Record control-plane, node-pool Kubernetes and OS image versions and add-on compatibility. Automatic configures upgrade behavior; Standard offers operator-controlled options and upgrade channels. Separate Kubernetes minor upgrades from node OS image updates. Review API removals, admission policies, workload replicas and backup restoration evidence before any approved upgrade.
inventory -> compatibility review -> backup restore drill -> approved maintenance -> application smoke testsSurge capacity and maintenance
A surge upgrade may temporarily add nodes to a pool. Verify VM quota, subnet and Pod CIDR capacity, disruption budgets and application readiness before beginning. A PDB constrains voluntary eviction but does not guarantee uninterrupted service. If a synthetic pool has 10 nodes and needs 2 extra during maintenance, plan for 12 nodes and associated temporary charges. If only one extra VM can be allocated, hold the upgrade until the approved plan is feasible. Do not bypass disruption protections to finish quickly.
10 current + 2 surge = 12 peak nodesquota for 11 -> HOLDEstimate cost before approval
Cluster management charges depend on the tier; compute, disks, file shares, registry, public IPs, load balancers, outbound traffic and monitoring can add costs. For a fictional 10-hour lab, a $0.20 hourly management charge plus two nodes at $0.30 per node-hour and $1.50 for other services gives $9.50. These are invented USD rates, not current Azure quotes. Actual region, SKU, tier, pricing date, traffic and discounts must be reviewed. Budget notifications are not a hard cap.
10 * 0.20 + 2 * 10 * 0.30 + 1.50 = 9.50 hypothetical USDMonitoring and evidence
Azure Monitor can collect cluster telemetry, and managed Prometheus, Container Insights and Grafana integrations have mode-specific defaults and billing. Verify what is enabled, ingestion limits, retention and access. Compare error rate, latency, Ready Pods and request success before and after maintenance. A successful management operation is not sufficient evidence of application recovery. Keep logs free of credentials and personal information.
management operation succeeded + catalog returns 503 -> HOLDverify application and dependencies before closureTeardown with explicit ownership
Record the AKS resource group and the service-created node resource group, plus independent resources such as registry, disks, backups, logs, public IPs, load balancers and private DNS. Deleting a cluster or workload does not establish that all separately owned resources are gone. Review retain/delete intent and cost for each lab-owned item, verify the resulting inventory, and never delete a shared resource group as a shortcut. This chapter performs no Azure actions.
{ "resource": "bookstore-backup", "owner": "lab", "decision": "retain-approved", "costReviewed": true}Practice and next steps
Use lifecycle-cases.json and cost-cases.json to decide GO or HOLD and calculate the fictional bill. List two resources requiring independent teardown verification. Run python validate_offline.py from lab-fixtures/azure-aks/ in the extracted package. The script only reads local fixtures. Next: Google Kubernetes Engine (GKE).
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
AKS lifecycle and cost plan — knowledge check
Specify upgrade and teardown evidence
Why check regional supported versions before an upgrade?
Ten existing nodes and two surge nodes need how many peak node slots?
At fictional rates, 10 hours × $0.20 plus 2 nodes × 10 hours × $0.30 plus $1.50 equals what?
An upgrade reports success, but the catalog returns HTTP 503. What should the operator do?
What should a teardown review include?