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`.
pull/315/head
Andy Clemenko 2018-02-07 14:10:11 -05:00 committed by GitHub
parent 4f5cecb5ed
commit c9774d0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)')
```
```