From f71e0eeb22ce419c5e57638084b26739298c9215 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Thu, 12 Mar 2015 10:57:58 -0400 Subject: [PATCH] Allow the AWS instance type to be specified via MASTER_SIZE, MINION_SIZE --- cluster/aws/config-default.sh | 4 ++-- cluster/aws/config-test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/aws/config-default.sh b/cluster/aws/config-default.sh index 8a4ea11aa60..63829e5cd37 100644 --- a/cluster/aws/config-default.sh +++ b/cluster/aws/config-default.sh @@ -16,8 +16,8 @@ # TODO: this isn't quite piped into all the right places... ZONE=${KUBE_AWS_ZONE:-us-west-2} -MASTER_SIZE=t2.micro -MINION_SIZE=t2.micro +MASTER_SIZE=${MASTER_SIZE:-t2.micro} +MINION_SIZE=${MINION_SIZE:-t2.micro} NUM_MINIONS=${NUM_MINIONS:-4} # This is the ubuntu 14.04 image for us-west-2 + ebs diff --git a/cluster/aws/config-test.sh b/cluster/aws/config-test.sh index eb37d6b19d4..9166938d726 100755 --- a/cluster/aws/config-test.sh +++ b/cluster/aws/config-test.sh @@ -16,8 +16,8 @@ # TODO: this isn't quite piped into all the right places... ZONE=${KUBE_AWS_ZONE:-us-west-2} -MASTER_SIZE=t2.micro -MINION_SIZE=t2.micro +MASTER_SIZE=${MASTER_SIZE:-t2.micro} +MINION_SIZE=${MINION_SIZE:-t2.micro} NUM_MINIONS=${NUM_MINIONS:-2} # This is the ubuntu 14.04 image for us-west-2 + ebs