-
Notifications
You must be signed in to change notification settings - Fork 312
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
koord-descheduler: support soft eviction takeover eviction behavior #1128
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1128 +/- ##
==========================================
- Coverage 66.72% 66.57% -0.15%
==========================================
Files 267 277 +10
Lines 29319 29999 +680
==========================================
+ Hits 19562 19971 +409
- Misses 8366 8601 +235
- Partials 1391 1427 +36
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 42 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Hi @leason00, thanks for your contribution. Do we need to implement a new Evict Plugin? For issue #1102, my original idea was to add a new implementation to the evictor in PodMigrationController. Users can enable this new evictor implementation in MigrationControllerArgs. In addition, we need to define the annotation added when the evict is executed, and define it as an API in apis/extension/descheduling.go , for example, I think maybe a simple proposal can be given to clearly define this new change and API. |
Do you want to reuse other logic in MigrationController? |
It is better to reuse MigrationController. I'm going to redesign the MigrationController-based approach. |
@eahydra Resubmitted. Review it again when you have time. |
nice work! |
/lgtm |
Signed-off-by: lisen <lisen@youzan.com>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FillZpp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Ⅰ. Describe what this PR does
By tagging, the user takes over the eviction.
Ⅱ. Does this pull request fix one issue?
fixes #1102
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist
make test