Skip to content

Commit 3211696

Browse files
committed
fixed listed items formatting
1 parent 652a160 commit 3211696

File tree

1 file changed

+19
-38
lines changed

1 file changed

+19
-38
lines changed

articles/aks/azure-cni-overlay.md

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -133,45 +133,26 @@ The following steps create a new virtual network with a subnet for the cluster n
133133

134134
1. Create a virtual network with a subnet for the cluster nodes. Replace the values for the variables `resourceGroup`, `vnet` and `location`.
135135

136-
```azurecli-interactive
137-
resourceGroup="myResourceGroup"
138-
vnet="myVirtualNetwork"
139-
location="westcentralus"
140-
141-
# Create the resource group
142-
az group create --name $resourceGroup --location $location
143-
144-
# Create a VNet and a subnet for the cluster nodes
145-
az network vnet create -g $resourceGroup --location $location --name $vnet --address-prefixes 10.0.0.0/8 -o none
146-
az network vnet subnet create -g $resourceGroup --vnet-name $vnet --name nodesubnet --address-prefix 10.10.0.0/16 -o none
147-
```
136+
```azurecli-interactive
137+
resourceGroup="myResourceGroup"
138+
vnet="myVirtualNetwork"
139+
location="westcentralus"
140+
141+
# Create the resource group
142+
az group create --name $resourceGroup --location $location
143+
144+
# Create a VNet and a subnet for the cluster nodes
145+
az network vnet create -g $resourceGroup --location $location --name $vnet --address-prefixes 10.0.0.0/8 -o none
146+
az network vnet subnet create -g $resourceGroup --vnet-name $vnet --name nodesubnet --address-prefix 10.10.0.0/16 -o none
147+
```
148148
149149
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`.
150150
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-
```
157-
158-
## Frequently asked questions
159-
160-
* *How do pods and cluster nodes communicate with each other?*
161-
162-
Pods and nodes talk to each other directly without any SNAT requirements.
163-
164-
165-
* *Can I configure the size of the address space assigned to each space?*
166-
167-
No, this is fixed at `/24` today and can't be changed.
168-
169-
170-
* *Can I add more private pod CIDRs to a cluster after the cluster has been created?*
171-
172-
No, a private pod CIDR can only be specified at the time of cluster creation.
173-
174-
175-
* *What are the max nodes and pods per cluster supported by Azure CNI Overlay?*
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+
```
176157
177-
The max scale in terms of nodes and pods per cluster is the same as the max limits supported by AKS today.
158+
## Next steps

0 commit comments

Comments
 (0)