Skip to content

Commit 06558a3

Browse files
Merge pull request #223737 from CocoWang-wql/patch-20
Update configure-kubenet.md
2 parents 8505222 + 9dcfc54 commit 06558a3

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

articles/aks/configure-kubenet.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,23 @@ You can create an AKS cluster using a system-assigned managed identity by runnin
138138
az aks create \
139139
--resource-group myResourceGroup \
140140
--name myAKSCluster \
141-
--node-count 3 \
142141
--network-plugin kubenet \
143-
--vnet-subnet-id $SUBNET_ID
142+
--service-cidr 10.0.0.0/16 \
143+
--dns-service-ip 10.0.0.10 \
144+
--pod-cidr 10.244.0.0/16 \
145+
--docker-bridge-address 172.17.0.1/16 \
146+
--vnet-subnet-id $SUBNET_ID
144147
```
148+
* The *--service-cidr* is optional. This address is used to assign internal services in the AKS cluster an IP address. This IP address range should be an address space that isn't in use elsewhere in your network environment, including any on-premises network ranges if you connect, or plan to connect, your Azure virtual networks using Express Route or a Site-to-Site VPN connection.
149+
150+
* The *--dns-service-ip* is optional. The address should be the *.10* address of your service IP address range.
151+
152+
* The *--pod-cidr* is optional. This address should be a large address space that isn't in use elsewhere in your network environment. This range includes any on-premises network ranges if you connect, or plan to connect, your Azure virtual networks using Express Route or a Site-to-Site VPN connection.
153+
* This address range must be large enough to accommodate the number of nodes that you expect to scale up to. You can't change this address range once the cluster is deployed if you need more addresses for additional nodes.
154+
* The pod IP address range is used to assign a */24* address space to each node in the cluster. In the following example, the *--pod-cidr* of *10.244.0.0/16* assigns the first node *10.244.0.0/24*, the second node *10.244.1.0/24*, and the third node *10.244.2.0/24*.
155+
* As the cluster scales or upgrades, the Azure platform continues to assign a pod IP address range to each new node.
156+
157+
* The *--docker-bridge-address* is optional. The address lets the AKS nodes communicate with the underlying management platform. This IP address must not be within the virtual network IP address range of your cluster, and shouldn't overlap with other address ranges in use on your network.
145158

146159
> [!Note]
147160
> If you wish to enable an AKS cluster to include a [Calico network policy][calico-network-policies] you can use the following command.

0 commit comments

Comments
 (0)