hellofresh / eks-rolling-update

EKS Rolling Update is a utility for updating the launch configuration of worker nodes in an EKS cluster.
Apache License 2.0
362 stars 80 forks source link

Allow a configurable buffer of extra instances #96

Closed pysysops closed 3 years ago

pysysops commented 3 years ago

This is more of a placeholder that I intend to follow up with a PR.

A number of times, I've had trouble with workloads that have special placement requirements (for example, they have an EBS backed PV), but other workloads have taken up space and I'm left with a pod in Pending.

I'm not sure if it's the run mode I use (2) or something else, but it might be good to have the option to pass in some sort of "overflow" value to add a number of extra instances to each ASG's calculated instance count. This would hopefully allow HPAs to scale out if necessary, and avoid pods getting stuck in pending.

Afterwards, the cluster autoscaler would work out if anything needed to be adjusted.

pysysops commented 3 years ago

I can use the cluster overprovisioner to achieve this... Please ignore me 😬