mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-09-17 01:20:41 +03:00
clean up docs
This commit is contained in:
@@ -33,6 +33,8 @@ To make our Kubernetes control plane remotely accessible, a public IP address wi
|
|||||||
gcloud compute networks create kubernetes --mode custom
|
gcloud compute networks create kubernetes --mode custom
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Output:
|
||||||
|
|
||||||
```
|
```
|
||||||
NAME MODE IPV4_RANGE GATEWAY_IPV4
|
NAME MODE IPV4_RANGE GATEWAY_IPV4
|
||||||
kubernetes custom
|
kubernetes custom
|
||||||
@@ -41,10 +43,12 @@ kubernetes custom
|
|||||||
```
|
```
|
||||||
gcloud compute networks subnets create kubernetes \
|
gcloud compute networks subnets create kubernetes \
|
||||||
--network kubernetes \
|
--network kubernetes \
|
||||||
--region us-central1 \
|
--range 10.240.0.0/24 \
|
||||||
--range 10.240.0.0/24
|
--region us-central1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Output:
|
||||||
|
|
||||||
```
|
```
|
||||||
NAME REGION NETWORK RANGE
|
NAME REGION NETWORK RANGE
|
||||||
kubernetes us-central1 kubernetes 10.240.0.0/24
|
kubernetes us-central1 kubernetes 10.240.0.0/24
|
||||||
|
Reference in New Issue
Block a user