An administrator plans to deploy a new Azure Kubernetes Service (AKS) cluster. The cluster pods must be assigned IP addresses directly from an existing Azure Virtual Network subnet to enable direct routing to other resources in the virtual network without performing Network Address Translation (NAT). Which network plugin should be selected during the AKS cluster configuration?
- Azure CNIAnswer
- BKubenet
- CAzure Application Gateway Ingress Controller
- DKubenet with Calico network policies
Answer
Azure CNI
The network plugin that meets this requirement is Azure CNI. When using Azure CNI, every pod receives a native IP address from the virtual network subnet. This allows pods to communicate directly with other resources in the virtual network, peered networks, or on-premises networks without using Network Address Translation (NAT).
Step-by-Step Solution
Key Concept
Azure Kubernetes Service (AKS) network models (Azure CNI vs Kubenet)