aws / karpenter-provider-aws

Karpenter is a Kubernetes Node Autoscaler built for flexibility, performance, and simplicity.
https://karpenter.sh
Apache License 2.0
6.15k stars 849 forks source link

more customize-able budget schedule #6429

Closed nadavbuc closed 1 day ago

nadavbuc commented 2 days ago

Description

What problem are you trying to solve? I would like to set a "maintenance window" on Sunday morning for Drift alignments only (AMI mostly) But i would like to keep consolidation active as usual For example:

    budgets:
      - nodes: "10%"
      - nodes: "0"
        schedule: "0 10 * * 0"
        duration: 162h

would be helpful to have optional limitation for the schedules:

    budgets:
      - nodes: "10%"
         types:
           - consolidation
           - drift  
      - nodes: "0"
        schedule: "0 10 * * 0"
        duration: 162h
        types:
          - drift

How important is this feature to you? I can't enable Drift on production env without it

jonathan-innis commented 1 day ago

This looks like it should be closed by: https://github.com/kubernetes-sigs/karpenter/pull/991 which should come out in the next release of Karpenter

nadavbuc commented 23 hours ago

Amazing thanks!