Interview Prep/Azure/Networking Design

A large VNet is running out of IPs because of AKS. What are your options?

AdvancedScenarioNetworking Design
Answer

Situation read → Pod IPs are eating the VNet. Move pods off VNet IPs.

What I'd do →

  1. Migrate to Azure CNI Overlay: az aks update -g rg -n aks --network-plugin-mode overlay --pod-cidr 192.168.0.0/16 (supported upgrade from flat Azure CNI and kubenet; nodes reimage)
  2. If staying on VNet IPs, switch to dynamic pod IP allocation with separate pod subnets
  3. Add another address space to the VNet (az network vnet update --address-prefixes) for new node pools
  4. Reduce maxPods on pools that don't need 30+

Why → Overlay cuts VNet IP use to just nodes, typically freeing thousands of addresses.

Interview tip → Mention the IP math, nodes × (maxPods + 1), to show you understand the cause.

Azure All Azure questions Roadmap: Azure core services

More on Networking Design