You are deploying a new Azure Kubernetes Service (AKS) cluster to host a microservice workload. The network routing requirements are as follows:
- The node pool must be deployed inside an existing virtual network subnet with the CIDR block (which provides usable IP addresses).
- The cluster must be able to scale up to Pods during peak traffic.
- Pods must not be assigned IP addresses directly from the virtual network subnet to prevent IP address exhaustion.
Which network configuration should you select for the AKS cluster?
- Kubenet networkingCevap
- BAzure Container Networking Interface (CNI) networking
- CAzure CNI with dynamic IP allocation
- DAzure CNI with Calico network policies
Cevap
Kubenet networking
Kubenet networking is the correct choice because it uses an overlay network where only the Kubernetes nodes receive IP addresses from the subnet (). The Pods are assigned IP addresses from a separate, logically distinct address range that is not routed directly in the virtual network, thereby conserving the limited IP addresses in the subnet.
Adım Adım Çözüm
Anahtar Kavram
Kubenet vs. Azure CNI IP Address Allocation