Soru

Zorluk: KolayConfigure Azure Kubernetes Service (AKS)

Your company plans to deploy an Azure Kubernetes Service (AKS) cluster in an existing virtual network. The virtual network has a limited subnet address space, and you must conserve IP addresses. The design must ensure that pods do not receive IP addresses directly from the virtual network subnet, and instead use network address translation (NAT) to communicate with other resources. Which two configuration settings should you select when deploying the AKS cluster to meet these requirements?

  1. Set the network plugin to Kubenet.Cevap
  2. Specify a separate, non-overlapping Pod CIDR address range.Cevap
  3. C
    Set the network plugin to Azure Container Networking Interface (CNI).
  4. D
    Enable Azure CNI with dynamic IP allocation.
  5. E
    Configure Azure Route Server integration for pod routing.

Cevap

To configure the AKS cluster to conserve IP addresses using NAT, you must set the network plugin to Kubenet and specify a separate, non-overlapping Pod CIDR address range.
The correct configuration settings are to set the network plugin to Kubenet and specify a separate, non-overlapping Pod CIDR address range. Kubenet is a basic routing model where pods do not receive IP addresses from the virtual network subnet, which conserves subnet IP addresses. Instead, pods receive IPs from a specified Pod CIDR range, and their traffic is routed through the nodes using NAT.

Adım Adım Çözüm

1
Identify the IP address conservation requirement.
Since the subnet address space is limited, a networking model that does not assign virtual network IP addresses to each pod must be chosen. Kubenet meets this requirement by using NAT.
Kubenet assigns pods IPs from a private, internal space, whereas Azure CNI assigns subnet IPs directly to pods.
2
Select the appropriate network plugin.
Choose the Kubenet network plugin.
Setting the plugin to Kubenet enables the NAT-based pod networking model.
3
Configure the Pod CIDR range.
Provide a custom Pod CIDR range that does not overlap with the virtual network subnet or any peered networks.
Kubenet requires a dedicated address range from which it allocates IP addresses to the pods running inside the cluster.

Anahtar Kavram

Azure Kubernetes Service (AKS) networking models, specifically the differences between Kubenet (NAT-based) and Azure CNI (VNet-integrated) plugins.
Bu soruyu puanla