gardener / autoscaler

Customised fork of cluster-autoscaler to support machine-controller-manager
Apache License 2.0
16 stars 25 forks source link

Allow setting options per worker group #240

Closed himanshu-kun closed 6 months ago

himanshu-kun commented 1 year ago

/kind discussion /priority 3

What would you like to be added:

Autoscaler now supports configuring certain flags per worker group. Some example flags are:

This helps in more fine-grained control over a cluster and how autoscaler works for that cluster. https://github.com/kubernetes/autoscaler/issues/3583 -> upstream issue which introduced this https://github.com/kubernetes/autoscaler/pull/3789 -> PR with first implementations

With time, more and more options are being made configurable on worker group level , which makes it essential for gardener to also allow configuring them by our end-users.

Some issue which can be solved by this are: https://github.com/gardener/autoscaler/issues/227 (by reducing scale-down-unneeded-time for the required nodegroup also)

The change should require changes in shoot API also , some related discussions are already ongoing https://github.com/gardener/gardener/issues/8142


Changes/PRs that need to be filed to close this story

Why is this needed: For better configurability of gardener autoscaler

aaronfern commented 1 year ago

A few options were debated, and we finally decided to go with an approach that is similar to the one used by amazon ASG

The following is a proposal of the solution

g/g changes:

g/extension changes:

autoscaler changes:

The other approached we discussed were the following:

/cc @timuthy for comments on the g/g changes

rishabh-11 commented 6 months ago

/close as all PRs are merged