Microsoft Azure (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Azure Kubernetes Service (AKS): Azure CNI vs Kubenet Networking.
senior LevelMost AskedKubernetes
In Simple Words:
- Kubenet (Basic Networking): Pods receive private IP addresses from an internal overlay network. When pods communicate outside the node, the node uses NAT (Network Address Translation). Conserves VNet IP addresses, but introduces minor NAT routing overhead.
- Azure CNI (Advanced Networking): Every single Pod receives a real, routable IP address directly from the Azure VNet subnet. Pods can communicate directly with on-premises networks and other Azure VMs with zero NAT latency, but requires large VNet CIDR blocks to accommodate max pod counts.