Fix env variable KUBERNETES_PUBLIC_ADDRESS
Symptoms: $ echo $KUBERNETES_PUBLIC_ADDRESS kubernetes-the-hard-way With this patch, I get the IP address instead of the name.pull/312/head
parent
4f5cecb5ed
commit
dadd66bd98
|
@ -269,7 +269,7 @@ gcloud compute target-pools add-instances kubernetes-target-pool \
|
||||||
```
|
```
|
||||||
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
|
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
|
||||||
--region $(gcloud config get-value compute/region) \
|
--region $(gcloud config get-value compute/region) \
|
||||||
--format 'value(name)')
|
--format 'value(address)')
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue