karpenter addon: Update add-on props related to disruption config
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
+1
Along with this feature, it should also support consolidateAfter for underutilized nodes and terminationGracePeriod, both of which are supported in >v1.0
Closing this out since the functionality is now provided by KarpenterV1AddOn.