From c9774d0488882d00af88868c57383e7f605938fc Mon Sep 17 00:00:00 2001 From: Andy Clemenko Date: Wed, 7 Feb 2018 14:10:11 -0500 Subject: [PATCH] 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`. --- docs/08-bootstrapping-kubernetes-controllers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/08-bootstrapping-kubernetes-controllers.md b/docs/08-bootstrapping-kubernetes-controllers.md index 06012d9..2e2e050 100644 --- a/docs/08-bootstrapping-kubernetes-controllers.md +++ b/docs/08-bootstrapping-kubernetes-controllers.md @@ -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)') ``` ```