Interview Prep/Azure/AKS and ACR

How do you spread AKS workloads across availability zones?

IntermediateConceptAKS and ACR
Answer
  1. Create node pools across zones: --zones 1 2 3. Zones can only be set at node pool creation.
  2. Use topologySpreadConstraints on topology.kubernetes.io/zone with maxSkew: 1.
  3. Use zone-redundant storage (ZRS disks via a custom storage class with skuName: Premium_ZRS) or replicate at app level.
  4. Use Standard tier for the zone-redundant control plane SLA.

The autoscaler balances zones when balance-similar-node-groups=true or when you have one pool per zone.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR