From 0ffabfa9f7e1380d808c0d343719c074cfede492 Mon Sep 17 00:00:00 2001 From: Filip Grzadkowski Date: Fri, 3 Apr 2015 11:36:05 +0200 Subject: [PATCH] Add ability to set master/minion size for GCE using envvar. --- cluster/gce/config-default.sh | 4 ++-- cluster/gce/config-test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index 2478613e85cfe..39ac48f79242b 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -18,8 +18,8 @@ # gcloud multiplexing for shared GCE/GKE tests. GCLOUD=gcloud ZONE=${KUBE_GCE_ZONE:-us-central1-b} -MASTER_SIZE=n1-standard-1 -MINION_SIZE=n1-standard-1 +MASTER_SIZE=${MASTER_SIZE:-n1-standard-1} +MINION_SIZE=${MINION_SIZE:-n1-standard-1} NUM_MINIONS=${NUM_MINIONS:-4} MINION_DISK_TYPE=pd-standard MINION_DISK_SIZE=100GB diff --git a/cluster/gce/config-test.sh b/cluster/gce/config-test.sh index d0b2fa89785de..44a51d845a794 100755 --- a/cluster/gce/config-test.sh +++ b/cluster/gce/config-test.sh @@ -18,8 +18,8 @@ # gcloud multiplexing for shared GCE/GKE tests. GCLOUD=gcloud ZONE=${KUBE_GCE_ZONE:-us-central1-b} -MASTER_SIZE=g1-small -MINION_SIZE=g1-small +MASTER_SIZE=${MASTER_SIZE:-g1-small} +MINION_SIZE=${MINION_SIZE:-g1-small} NUM_MINIONS=${NUM_MINIONS:-2} MINION_DISK_TYPE=pd-standard MINION_DISK_SIZE=100GB