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".pull/294/head
parent
63ff9932d9
commit
5c493a0bfd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue