Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: autoscaling: Add note about ASG tags for scaling up from 0
When the cluster-autoscaler adds a new node to a group, it grabs an existing node in the group and builds a "template" to launch a new node identical to the one it grabbed from the group. However, when scaling up from 0 there aren't any live nodes to reference to build this template. Instead, the cluster-autoscaler relies on tags in the ASG to build the new node template. This can cause unexpected behavior if the pods triggering the scale-out are using node selectors or taints; CA doesn't have sufficient information to decide if a new node launched in the group will satisfy the request. The long and short of it is that for CA to do its job properly we must tag our ASGs corresponding to our labels and taints. Add a note in the docs about this since scaling up from 0 is a fairly common use case. References: - kubernetes/autoscaler#2418 - eksctl-io#1066
- Loading branch information