Merge pull request #21160 from justinsb/aws_bigger_master

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-02-20 00:29:45 -08:00
3 changed files with 40 additions and 13 deletions

View File

@@ -34,12 +34,10 @@ fi
# Dynamically set the master size by the number of nodes, these are guesses
# TODO: gather some data
if [[ -z ${MASTER_SIZE} ]]; then
if (( ${NUM_NODES} < 50 )); then
MASTER_SIZE="t2.micro"
elif (( ${NUM_NODES} < 150 )); then
MASTER_SIZE="t2.small"
if (( ${NUM_NODES} < 150 )); then
MASTER_SIZE="m3.medium"
else
MASTER_SIZE="t2.medium"
MASTER_SIZE="m3.large"
fi
fi