kubernetes-sigs / karpenter

Karpenter is a Kubernetes Node Autoscaler built for flexibility, performance, and simplicity.
Apache License 2.0
540 stars 182 forks source link

Introduce node minTTL parameter to delay consolidation for freshly launched nodes. #1648

Open eugenea opened 1 week ago

eugenea commented 1 week ago

Description

What problem are you trying to solve?

We observe that karpenter sometimes disrupts node less than 1 min after it got launched. This creates several problems in the cluster:

How important is this feature to you?

It is pretty important because it is challenging to find workaround for some situations listed above.

k8s-ci-robot commented 1 week ago

This issue is currently awaiting triage.

If Karpenter contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
eugenea commented 1 week ago

maybe instead of or in addition to minTTL there should be "stabilization window" for scaling down, to match the same functionality as HPA provides. StabilizationWindow would reduce amount of cluster changes where clusters are being used for spiky/batch workloads.