From f9486b081f8f54dd63a891463f0b0e783d084307 Mon Sep 17 00:00:00 2001 From: Niko Virtala Date: Mon, 7 Aug 2017 14:15:10 +0300 Subject: [PATCH] fix KUBERNETES_PUBLIC_ADDRESS value Instead of 'value(address)' 'value(name)' should be used to make the following forwarding-rules creation command to work. With 'value(address)' it returns an error: "ERROR: (gcloud.compute.forwarding-rules.create) Could not fetch resource: - The resource 'projects/some-random-project/regions/us-central1/addresses/w.x.y.z' was not found" --- docs/05-kubernetes-controller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05-kubernetes-controller.md b/docs/05-kubernetes-controller.md index 7a84854..0a9b62d 100644 --- a/docs/05-kubernetes-controller.md +++ b/docs/05-kubernetes-controller.md @@ -298,7 +298,7 @@ gcloud compute target-pools add-instances kubernetes-target-pool \ ``` KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \ --region us-central1 \ - --format 'value(address)') + --format 'value(name)') ``` ```