From 5c493a0bfd7753ba7054158dc2ccaa669ba92087 Mon Sep 17 00:00:00 2001 From: Andrew Lytvynov Date: Fri, 12 Jan 2018 10:58:48 -0800 Subject: [PATCH] Remove unnecessary API server balancer setup step This: KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \ --region $(gcloud config get-value compute/region) \ --format 'value(name)') is identical to just "kubernetes-the-hard-way". --- docs/08-bootstrapping-kubernetes-controllers.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/08-bootstrapping-kubernetes-controllers.md b/docs/08-bootstrapping-kubernetes-controllers.md index e6a17ce..a49a249 100644 --- a/docs/08-bootstrapping-kubernetes-controllers.md +++ b/docs/08-bootstrapping-kubernetes-controllers.md @@ -266,15 +266,9 @@ gcloud compute target-pools add-instances kubernetes-target-pool \ --instances controller-0,controller-1,controller-2 ``` -``` -KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \ - --region $(gcloud config get-value compute/region) \ - --format 'value(name)') -``` - ``` gcloud compute forwarding-rules create kubernetes-forwarding-rule \ - --address ${KUBERNETES_PUBLIC_ADDRESS} \ + --address kubernetes-the-hard-way \ --ports 6443 \ --region $(gcloud config get-value compute/region) \ --target-pool kubernetes-target-pool