cdk-eks-blueprints icon indicating copy to clipboard operation
cdk-eks-blueprints copied to clipboard

karpenter addon: Update add-on props related to disruption config

Open hemanth-m19 opened this issue 1 year ago • 1 comments

Describe the bug

The current implementation of the disruption consolidationPolicy in configuration does not include the WhenEmptyOrUnderutilized option, which is supported in recent versions of Karpenter.

Expected Behavior

The disruption consolidationPolicy should also allow the WhenEmptyOrUnderutilizedvalue to align with latest changes.

consolidationPolicy?: "WhenUnderutilized" | "WhenEmpty" | "WhenEmptyOrUnderutilized",

Current Behavior

The disruption consolidationPolicy allows only the following values:

consolidationPolicy?: "WhenUnderutilized" | "WhenEmpty",

Reproduction Steps

Attempt to set the consolidationPolicy to WhenEmptyOrUnderutilized.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.160.0

EKS Blueprints Version

1.16.1

Node.js Version

20.18

Environment details (OS name and version, etc.)

Ubuntu

Other information

No response

hemanth-m19 avatar Oct 29 '24 15:10 hemanth-m19

+1

Along with this feature, it should also support consolidateAfter for underutilized nodes and terminationGracePeriod, both of which are supported in >v1.0

nishantkumarp avatar Dec 16 '24 13:12 nishantkumarp

Closing this out since the functionality is now provided by KarpenterV1AddOn.

hemanth-m19 avatar Jul 11 '25 01:07 hemanth-m19