An administrator plans to deploy a new Azure Kubernetes Service (AKS) cluster named aks-shipping. The corporate network team has allocated a single subnet with the address space for the cluster. The cluster is expected to scale to a maximum of nodes, and each node must support up to pods. The pods do not require direct IP address visibility from the virtual network, but they must be able to access external resources. Which network configuration should the administrator select for the cluster to prevent IP address exhaustion?
- AAzure CNI
- kubenetAnswer
- CAzure CNI with dynamic pod IP allocation
- DAzure CNI with a Basic Load Balancer
Answer
Configure the AKS cluster to use the kubenet network model.
The correct option is kubenet. The kubenet network model only assigns IP addresses to the AKS nodes from the virtual network subnet. Pods receive IP addresses from a separate, internal address range and use NAT to access resources outside the cluster. For nodes, this requires only IP addresses (plus a few for upgrade operations), which easily fits within the IP addresses ( usable) provided by the subnet.
Step-by-Step Solution
Key Concept
Azure Kubernetes Service network model selection based on IP address capacity constraints.
Estimated Time:1m 30s