mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 01:08:58 +03:00
Add config/zone cmds to the doc
This commit is contained in:
@@ -36,6 +36,17 @@ To make our Kubernetes control plane remotely accessible, a public IP address wi
|
||||
|
||||
## Networking
|
||||
|
||||
Set the region and zone to us-central1:
|
||||
|
||||
```
|
||||
gcloud config set compute/region us-central1
|
||||
```
|
||||
|
||||
```
|
||||
gcloud config set compute/zone us-central1-f
|
||||
```
|
||||
Create a Kubernetes network:
|
||||
|
||||
```
|
||||
gcloud compute networks create kubernetes --mode custom
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user