Commit 2cb9d2d4 authored by Jason Plum's avatar Jason Plum

gke_bootstrap_script: enable ip alias

Enable IP alias setting (soon to be default), so that clusters created
match the expectation of defaults in the coming months. This ensures
the capability to reach VPC restricted services like Google Memorystore

[ci skip]
parent a8c000a2
Pipeline #50937524 skipped
......@@ -43,7 +43,9 @@ function bootstrap(){
gcloud container clusters create $CLUSTER_NAME --zone $ZONE \
--cluster-version $CLUSTER_VERSION --machine-type $MACHINE_TYPE \
--scopes "","","","","","","","" \
--node-version $CLUSTER_VERSION --num-nodes $NUM_NODES --project $PROJECT --enable-basic-auth $EXTRA_CREATE_ARGS;
--node-version $CLUSTER_VERSION --num-nodes $NUM_NODES \
--enable-ip-alias \
--project $PROJECT --enable-basic-auth $EXTRA_CREATE_ARGS;
if ${USE_STATIC_IP}; then
gcloud compute addresses create $external_ip_name --region $REGION --project $PROJECT;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment