Skip to content

Commit 63d10dd

Browse files
authored
update command
1 parent ced8cbd commit 63d10dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/egress-outboundtype.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@ az role assignment list --assignee $APPID --all -o table
316316

317317
### Deploy AKS
318318

319-
Finally, the AKS cluster can be deployed into the existing subnet we have dedicated for the cluster. The target subnet to be deployed into is defined with the environment variable, `$SUBNETID`. We didn't define the `$SUBNETID` variable in the previous steps. To get the value for the subnet ID, you can use the `az network vnet subnet list` command.
319+
Finally, the AKS cluster can be deployed into the existing subnet we have dedicated for the cluster. The target subnet to be deployed into is defined with the environment variable, `$SUBNETID`. We didn't define the `$SUBNETID` variable in the previous steps. To set the value for the subnet ID, you can use the following command:
320320

321321
```azurecli
322-
az network vnet subnet list --resource-group $RG --vnet-name $VNET_NAME
322+
SUBNETID="/subscriptions/$SUBID/resourceGroups/$RG/providers/Microsoft.Network/virtualNetworks/$VNET_NAME/subnets/$AKSSUBNET_NAME"
323323
```
324324

325325
We will define the outbound type to follow the UDR which exists on the subnet, enabling AKS to skip setup and IP provisioning for the load balancer which can now be strictly internal.
@@ -533,4 +533,4 @@ You should see an image of the Azure voting app.
533533

534534
See [Azure networking UDR overview](https://docs.microsoft.com/azure/virtual-network/virtual-networks-udr-overview).
535535

536-
See [how to create, change, or delete a route table](https://docs.microsoft.com/azure/virtual-network/manage-route-table).
536+
See [how to create, change, or delete a route table](https://docs.microsoft.com/azure/virtual-network/manage-route-table).

0 commit comments

Comments
 (0)