mozilla-it / sumo-infra

Infrastructure for support.mozilla.org
1 stars 3 forks source link

cluster autoscaler must match AWS ASG min/max #11

Closed kfferrando closed 5 years ago

kfferrando commented 5 years ago

As we found today, the cluster autoscalers are trying to scale instances down to below the minimum AWS is configured for (6).

These values should match, but definitely the minimum k8s nodes must be equal to, or greater than the AWS ASG minimum.

# Below specifies the nodes from MIN to MAX_NODES
- --nodes=1:20:nodes.{{ KOPS_CLUSTER_NAME }}
kfferrando commented 5 years ago

I ran this from post-install.sh on us-west-2a and worked as expected (no changes, template matched what we fixed manually).