Rediģēt

Kopīgot, izmantojot


Configure Azure CNI networking in Azure Kubernetes Service (AKS)

This article shows you how to use Azure CNI networking to create and use a virtual network subnet for an AKS cluster. For more information on network options and considerations, see Network concepts for Kubernetes and AKS.

Prerequisites

Configure networking

For information on planning IP addressing for your AKS cluster, see Plan IP addressing for your cluster.

  1. Sign in to the Azure portal.
  2. On the Azure portal home page, select Create a resource.
  3. Under Categories, select Containers > Azure Kubernetes Service (AKS).
  4. On the Basics tab, configure the following settings:
    • Under Project details:
      • Subscription: Select your Azure subscription.
      • Resource group: Select Create new, enter a resource group name, such as test-rg, and then select Ok.
    • Under Cluster details:
      • Kubernetes cluster name: Enter a cluster name, such as aks-cluster.
      • Region: Select East US 2.
  5. Select Next > Next to get to the Networking tab.
  6. For Container networking, select Azure CNI Node Subnet.
  7. Select Review + create > Create.

Next steps

To configure Azure CNI networking with dynamic IP allocation and enhanced subnet support, see Configure Azure CNI networking for dynamic allocation of IPs and enhanced subnet support in AKS.