Skip to content

Commit 8e12640

Browse files
authored
IP prefixes changed to match the drawing
The IP prefixes in the examples do not match the drawing.
1 parent dd4f8c4 commit 8e12640

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/aks/configure-kubenet.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following basic calculations compare the difference in network models:
5858
5959
### Virtual network peering and ExpressRoute connections
6060

61-
To provide on-premises connectivity, both *kubenet* and *Azure-CNI* network approaches can use [Azure virtual network peering][vnet-peering] or [ExpressRoute connections][express-route]. Plan your IP address ranges carefully to prevent overlap and incorrect traffic routing. For example, many on-premises networks use a *10.0.0.0/8* address range that is advertised over the ExpressRoute connection. It's recommended to create your AKS clusters into Azure virtual network subnets outside of this address range, such as *172.26.0.0/16*.
61+
To provide on-premises connectivity, both *kubenet* and *Azure-CNI* network approaches can use [Azure virtual network peering][vnet-peering] or [ExpressRoute connections][express-route]. Plan your IP address ranges carefully to prevent overlap and incorrect traffic routing. For example, many on-premises networks use a *10.0.0.0/8* address range that is advertised over the ExpressRoute connection. It's recommended to create your AKS clusters into Azure virtual network subnets outside of this address range, such as *172.16.0.0/16*.
6262

6363
### Choose a network model to use
6464

@@ -88,15 +88,15 @@ To get started with using *kubenet* and your own virtual network subnet, first c
8888
az group create --name myResourceGroup --location eastus
8989
```
9090

91-
If you don't have an existing virtual network and subnet to use, create these network resources using the [az network vnet create][az-network-vnet-create] command. In the following example, the virtual network is named *myVnet* with the address prefix of *10.0.0.0/8*. A subnet is created named *myAKSSubnet* with the address prefix *10.240.0.0/16*.
91+
If you don't have an existing virtual network and subnet to use, create these network resources using the [az network vnet create][az-network-vnet-create] command. In the following example, the virtual network is named *myVnet* with the address prefix of *192.168.0.0/16*. A subnet is created named *myAKSSubnet* with the address prefix *192.168.1.0/24*.
9292

9393
```azurecli-interactive
9494
az network vnet create \
9595
--resource-group myResourceGroup \
9696
--name myAKSVnet \
97-
--address-prefixes 10.0.0.0/8 \
97+
--address-prefixes 192.168.0.0/16 \
9898
--subnet-name myAKSSubnet \
99-
--subnet-prefix 10.240.0.0/16
99+
--subnet-prefix 192.168.1.0/24
100100
```
101101

102102
## Create a service principal and assign permissions
@@ -146,7 +146,7 @@ The following IP address ranges are also defined as part of the cluster create p
146146

147147
* The *--pod-cidr* 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.
148148
* 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.
149-
* 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 *192.168.0.0/16* assigns the first node *192.168.0.0/24*, the second node *192.168.1.0/24*, and the third node *192.168.2.0/24*.
149+
* 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*.
150150
* As the cluster scales or upgrades, the Azure platform continues to assign a pod IP address range to each new node.
151151

152152
* The *--docker-bridge-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.
@@ -159,7 +159,7 @@ az aks create \
159159
--network-plugin kubenet \
160160
--service-cidr 10.0.0.0/16 \
161161
--dns-service-ip 10.0.0.10 \
162-
--pod-cidr 192.168.0.0/16 \
162+
--pod-cidr 10.244.0.0/16 \
163163
--docker-bridge-address 172.17.0.1/16 \
164164
--vnet-subnet-id $SUBNET_ID \
165165
--service-principal <appId> \

0 commit comments

Comments
 (0)