mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 01:38:58 +03:00
add route table to subnet
This commit is contained in:
@@ -31,6 +31,13 @@ for i in 0 1 2; do
|
|||||||
--address-prefix 10.200.${i}.0/24
|
--address-prefix 10.200.${i}.0/24
|
||||||
done
|
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:
|
List the routes in the `kubernetes-the-hard-way` VPC network:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user