Your company has an Azure subscription containing a virtual network named `VNet1` (). `VNet1` contains a subnet named `AKS-Subnet` (). You plan to deploy an Azure Kubernetes Service (AKS) cluster named `aks-prod` into `AKS-Subnet`. The cluster configuration must satisfy the following requirements:
- The cluster must start with nodes and support scaling up to nodes.
- Each node must run up to pods.
- Pods must be assigned IP addresses directly from `AKS-Subnet` to allow direct routing without NAT to an on-premises network connected via ExpressRoute.
- You must prevent IP address allocation failures in the subnet during scaling.
Which configuration should you select to deploy the cluster?
- ADeploy the cluster using the Azure CNI network model and use the default maximum pods per node setting.
- Deploy the cluster using the Azure CNI network model and set the maximum pods per node to 28.Cevap
- CDeploy the cluster using the Kubenet network model and set the maximum pods per node to 28.
- DDeploy the cluster using the Azure CNI network model with dynamic IP allocation to a new /29 pod subnet.
Cevap
Deploy the cluster using the Azure CNI network model and set the maximum pods per node to 28.
Deploying the cluster using Azure CNI and configuring the maximum pods per node to 28 ensures that pods get routable IP addresses directly from the subnet (meeting the no-NAT requirement) while keeping the total IP allocation to 237, which is within the 251 usable IP addresses in the /24 subnet.
Adım Adım Çözüm
Anahtar Kavram
Azure CNI IP Address Planning
Tahmini Süre:2m 30s