add route table to subnet

This commit is contained in:
Xander Grzywinski
2019-05-30 11:45:30 -07:00
parent c2aed5eeba
commit 0117c6b420

View File

@@ -31,6 +31,13 @@ for i in 0 1 2; do
--address-prefix 10.200.${i}.0/24
done
```
```
az network vnet subnet update \
--resource-group kubernetes-the-hard-way \
--vnet-name kubernetes-the-hard-way-vnet \
--name kubernetes-the-hard-way-subnet \
--route-table kubernetes-the-hard-way-rt
```
List the routes in the `kubernetes-the-hard-way` VPC network: