mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 09:48:57 +03:00
Add --zone for gcloud copies
This commit is contained in:
@@ -48,7 +48,8 @@ Grab the `EXTERNAL_IP` for one of the worker nodes:
|
||||
|
||||
```
|
||||
export NODE_PUBLIC_IP=$(gcloud compute instances describe worker0 \
|
||||
--format 'value(networkInterfaces[0].accessConfigs[0].natIP)')
|
||||
--format 'value(networkInterfaces[0].accessConfigs[0].natIP)' \
|
||||
--zone us-central1-f)
|
||||
```
|
||||
|
||||
Test the nginx service using cURL:
|
||||
@@ -83,4 +84,4 @@ Commercial support is available at
|
||||
<p><em>Thank you for using nginx.</em></p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user