Skip to content

Commit

Permalink
removed hardcoded instance name
Browse files Browse the repository at this point in the history
  • Loading branch information
Raja Ayyapusetty authored and Raja Ayyapusetty committed Sep 19, 2017
1 parent f3d3b5f commit 371377d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/11-pod-network-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Print the internal IP address and Pod CIDR range for each worker instance:
```shell
for instance in worker-0 worker-1 worker-2; do
PRIVATE_IP_ADDRESS=$(az vm show -d -g kubernetes -n ${instance} --query "privateIps" -otsv)
POD_CIDR=$(az vm show -g kubernetes --name worker-0 --query "tags" -o tsv)
POD_CIDR=$(az vm show -g kubernetes --name ${instance} --query "tags" -o tsv)
echo $PRIVATE_IP_ADDRESS $POD_CIDR
done
```
Expand Down

0 comments on commit 371377d

Please sign in to comment.