Microsoft Azure (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
How does AKS Advanced Networking (Azure CNI vs Azure CNI Overlay vs Kubenet) work?
senior LevelazureAdvanced Internals
In Simple Words:
- Kubenet (Basic): Pods receive private IP addresses from a separate virtual subnet; outbound pod traffic undergoes NAT at the host VM node. High routing overhead, supports limited pod counts.
- Azure CNI: Every Kubernetes Pod receives a real, routable IP address directly from your Azure VNet subnet. Fast, but exhausts VNet IP address pools quickly!
- Azure CNI Overlay (Modern Standard): Pods get private overlay network IPs, eliminating VNet address exhaustion while providing native Azure CNI performance.