Skip to content

Commit 6591969

Browse files
authored
Update configure-kubenet.md
Command to create virtual network along with subnet requires `--location` parameter, otherwise it fails with this error: `ERROR: (LocationRequired) The location property is required for this definition.`
1 parent 4faf42a commit 6591969

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/aks/configure-kubenet.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ For more information to help you decide which network model to use, see [Compare
116116
--address-prefixes 192.168.0.0/16 \
117117
--subnet-name myAKSSubnet \
118118
--subnet-prefix 192.168.1.0/24
119+
--location eastus
119120
```
120121
121122
3. Get the subnet resource ID using the [`az network vnet subnet show`][az-network-vnet-subnet-show] command and store it as a variable named `SUBNET_ID` for later use.

0 commit comments

Comments
 (0)