kubernetes-sigs / karpenter

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

Configuring SpotToSpotConsolidation per Nodepool #1449

Open ilkinmammadzada opened 1 month ago

ilkinmammadzada commented 1 month ago

Description

What problem are you trying to solve? We want to enable SpotToSpotConsolidation for certain clusters, but currently, it's a global setting that applies to all nodepools. This restriction forces us to keep the setting turned off, as some nodepools prefer to allow disruptions for cost savings.

How important is this feature to you? Our expiration time for nodepools is 1-10 days. If expensive EC2 instances are launched by Karpenter, it takes a while to replace them with cheaper ones. It would be great to make it configurable per nodepool as it would allow us to optimize cost savings while maintaining desired configurations for specific nodepools.

njtran commented 1 month ago

/triage accepted

njtran commented 1 month ago

I think this would be part of the graduation process of spot to spot consolidation. Currently it's a global alpha feature. As it matures, I could see it landing in the NodePool. Have you had a chance to try out the feature in any way?