mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
AWS: Change master to m3.medium by default
m3.large for > 150 nodes. t2.micro often runs out of memory. The t2 class has very difficult-to-understand behaviour when it runs out of CPU. The m3.medium is reasonably affordable, and avoids these problems. Fix #21151 Issue #18975
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user