Make consolidateAfter configurable by disruption reason #1757
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
What problem are you trying to solve?
We are trying to better control consolidation and avoid pods being moved around too frequently. To achieve this, we started using
consolidateAfter
. However, this has the side effect of keeping empty nodes in our cluster for longer, leading to additional costs.It would be ideal if we had the option to configure consolidateAfter based on the disruption reason, allowing us better control over the process. We understand that the Karpenter API is now stable, but what we are proposing is to add an optional consolidateAfter configuration per disruption reason, which would take higher priority than the global setting.
Here is a api suggestion:
Her we should have
Drifted
andUnterutilized
Nodes consolidated after 12h but Empty nodes after 15m.How important is this feature to you?
The text was updated successfully, but these errors were encountered: