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
2. Create a cluster with Azure CNI Overlay. Use the argument `--network-plugin-mode` to specify that this is an overlay cluster. If the pod CIDR is not specified then AKS assigns a default space, viz. 10.244.0.0/16. Replace the values for the variables `clusterName` and `subscription`.
150
-
151
-
```azurecli-interactive
152
-
clusterName="myOverlayCluster"
153
-
subscription="aaaaaaa-aaaaa-aaaaaa-aaaa"
154
-
155
-
az aks create -n $clusterName -g $resourceGroup --location $location --network-plugin azure --network-plugin-mode overlay --pod-cidr 192.168.0.0/16 --vnet-subnet-id /subscriptions/$subscription/resourceGroups/$resourceGroup/providers/Microsoft.Network/virtualNetworks/$vnet/subnets/nodesubnet
156
-
```
132
+
Create a cluster with Azure CNI Overlay. Use the argument `--network-plugin-mode` to specify that this is an overlay cluster. If the pod CIDR is not specified then AKS assigns a default space, viz. 10.244.0.0/16. Replace the values for the variables `clusterName`, `resourceGroup`, and `location`.
133
+
134
+
```azurecli-interactive
135
+
clusterName="myOverlayCluster"
136
+
resourceGroup="myResourceGroup"
137
+
location="westcentralus"
138
+
139
+
az aks create -n $clusterName -g $resourceGroup --location $location --network-plugin azure --network-plugin-mode overlay --pod-cidr 192.168.0.0/16
140
+
```
157
141
158
142
## Next steps
159
143
@@ -162,4 +146,4 @@ To learn how to utilize AKS with your own Container Network Interface (CNI) plug
Then create the cluster using `--enable-cilium-dataplane`:
123
+
Run this commands to create a cluster with an overlay network and Cilium. Replace the values for `<clusterName>`, `<resourceGroupName>`, and `<location>`:
138
124
139
125
```azurecli-interactive
140
126
az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
0 commit comments