-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Coverage for Deprovisioning #324
Comments
I would like to add unit tests for the functions |
we are talking about |
Yes, the tests for these files lives inside of |
@khareyash05 are you still working on this? |
Please go ahead with this |
/unassign @khareyash05 I'm going to unassign since it looks like there's been no progress on this since it was assigned. |
/assign |
/assign |
Tell us about your request
Multi node consolidation is a core deprovisioner in the deprovisioning controller, but only has 3 suite tests. I also made changes to the core logic and
make presubmit
didn't notice the change was made, which we should be catching.Tests
Multi-Node Consolidation
Single Node Consolidation
Metrics
karpenter_deprovisioning_evaluation_duration
Should be Fired During Consolidationkarpenter_deprovisioning_machine_initialized_seconds
Should be Fired During Deprovisoining Replacementkarpenter_deprovisioning_actions_performed
Should Be Fired correctly for each deprovisionerCandidate Filtering and Generation (see https://github.com/aws/karpenter-core/blob/main/pkg/controllers/deprovisioning/helpers.go#L180)
Community Note
The text was updated successfully, but these errors were encountered: