Skip to content

Commit c4ea5e6

Browse files
authored
Update commands in configure-azure-cni-static-block-allocation.md
1 parent 2042575 commit c4ea5e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/aks/configure-azure-cni-static-block-allocation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ location="myRegion"
149149
az group create --name $resourceGroup --location $location
150150
151151
# Create our two subnet network
152-
az network vnet create -resource-group $resourceGroup --location $location --name $vnet --address-prefixes 10.0.0.0/8 -o none
152+
az network vnet create --resource-group $resourceGroup --location $location --name $vnet --address-prefixes 10.0.0.0/8 -o none
153153
az network vnet subnet create --resource-group $resourceGroup --vnet-name $vnet --name nodesubnet --address-prefixes 10.240.0.0/16 -o none
154154
az network vnet subnet create --resource-group $resourceGroup --vnet-name $vnet --name podsubnet --address-prefixes 10.40.0.0/13 -o none
155155
```
@@ -167,8 +167,7 @@ az aks create --name $clusterName --resource-group $resourceGroup --location $lo
167167
--pod-ip-allocation-mode StaticBlock \
168168
--vnet-subnet-id /subscriptions/$subscription/resourceGroups/$resourceGroup/providers/Microsoft.Network/virtualNetworks/$vnet/subnets/nodesubnet \
169169
--pod-subnet-id /subscriptions/$subscription/resourceGroups/$resourceGroup/providers/Microsoft.Network/virtualNetworks/$vnet/subnets/podsubnet \
170-
--enable-addons monitoring \
171-
--kubernetes-version 1.28
170+
--enable-addons monitoring
172171
```
173172

174173
### Adding node pool

0 commit comments

Comments
 (0)