Skip to content

In gke_bootstrap_script.sh use a variable ZONE_EXTENSION and set it's default to `b`

  • Fix trailing whitespace in previous Merge

  • Make ZONE_EXTENSION a variable

Some regions (e.g. europe-west1) do not have a europe-west1-a zone, so this has to be set to a different ZONE_EXTENSION. This patch will allow to do that without hacking the core script, but by setting a variable ZONE_EXTENSION=b.

  • Make b the default Google Cloud ZONE_EXTENSION

From reading https://cloud.google.com/compute/docs/regions-zones/ it turns out that some regions do not have an a ZONE_EXTENSION (e.g. us-east1, europe-west1), but all regions at this moment (April 2018) have a b ZONE_EXTENSION. So, b seems to be a better default at this moment.

I did not squash my commits, to leave the original steps and reasoning in place. I could also do a squash commit if prefered.

Edited by Peter Vandenabeele

Merge request reports