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
- An Azure account with an active subscription. Create an account for free.
Configure networking
For information on planning IP addressing for your AKS cluster, see Plan IP addressing for your cluster.
- Sign in to the Azure portal.
- On the Azure portal home page, select Create a resource.
- Under Categories, select Containers > Azure Kubernetes Service (AKS).
- 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.
- Under Project details:
- Select Next > Next to get to the Networking tab.
- For Container networking, select Azure CNI Node Subnet.
- 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.
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Azure Kubernetes Service