You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/configure-kubenet.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,10 +138,23 @@ You can create an AKS cluster using a system-assigned managed identity by runnin
138
138
az aks create \
139
139
--resource-group myResourceGroup \
140
140
--name myAKSCluster \
141
-
--node-count 3 \
142
141
--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
144
147
```
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.
145
158
146
159
> [!Note]
147
160
> 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