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
parent
4f5cecb5ed
commit
c9774d0488
|
@ -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)')
|
||||
```
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue