File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ location="myRegion"
149
149
az group create --name $resourceGroup --location $location
150
150
151
151
# 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
153
153
az network vnet subnet create --resource-group $resourceGroup --vnet-name $vnet --name nodesubnet --address-prefixes 10.240.0.0/16 -o none
154
154
az network vnet subnet create --resource-group $resourceGroup --vnet-name $vnet --name podsubnet --address-prefixes 10.40.0.0/13 -o none
155
155
```
@@ -167,8 +167,7 @@ az aks create --name $clusterName --resource-group $resourceGroup --location $lo
167
167
--pod-ip-allocation-mode StaticBlock \
168
168
--vnet-subnet-id /subscriptions/$subscription/resourceGroups/$resourceGroup/providers/Microsoft.Network/virtualNetworks/$vnet/subnets/nodesubnet \
169
169
--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
172
171
```
173
172
174
173
### Adding node pool
You can’t perform that action at this time.
0 commit comments