Bad "value" for KUBERNETES_PUBLIC_ADDRESS setting.

Replace :
```
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
  --region $(gcloud config get-value compute/region) \
  --format 'value(name)') 
```
with 
```
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
  --region $(gcloud config get-value compute/region) \
  --format 'value(address)')
```
The reason is that when I ran the snippet it was not returning the IP address, rather `kubernetes-the-hard-way`.
This commit is contained in:
Andy Clemenko
2018-02-07 14:10:11 -05:00
committed by GitHub
parent 4f5cecb5ed
commit c9774d0488

View File

@@ -269,7 +269,7 @@ gcloud compute target-pools add-instances kubernetes-target-pool \
```
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
--region $(gcloud config get-value compute/region) \
--format 'value(name)')
--format 'value(address)')
```
```