Skip to content

koord-descheduler: stop migration when reserved on the same node#519

Merged
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
eahydra:stop_migrate_when_reserve_on_same_node
Aug 24, 2022
Merged

koord-descheduler: stop migration when reserved on the same node#519
koordinator-bot[bot] merged 1 commit intokoordinator-sh:mainfrom
eahydra:stop_migrate_when_reserve_on_same_node

Conversation

@eahydra
Copy link
Member

@eahydra eahydra commented Aug 24, 2022

Signed-off-by: Joseph joseph.t.lee@outlook.com

Ⅰ. Describe what this PR does

When scheduler assigned the Reservation on the same node as the Pod, Migration controller should stop the job.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

V. Checklist

  • I have written necessary docs and comments
  • I have added necessary unit tests and integration tests
  • All checks passed in make test

Signed-off-by: Joseph <joseph.t.lee@outlook.com>
@eahydra eahydra requested a review from hormes August 24, 2022 09:13
@koordinator-bot koordinator-bot bot requested a review from FillZpp August 24, 2022 09:13
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #519 (2723adf) into main (2fb4ad2) will increase coverage by 0.07%.
The diff coverage is 88.46%.

@@            Coverage Diff             @@
##             main     #519      +/-   ##
==========================================
+ Coverage   67.91%   67.98%   +0.07%     
==========================================
  Files         155      155              
  Lines       16504    16526      +22     
==========================================
+ Hits        11208    11235      +27     
+ Misses       4464     4458       -6     
- Partials      832      833       +1     
Flag Coverage Δ
unittests 67.98% <88.46%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
apis/extension/scheduling.go 0.00% <ø> (ø)
...kg/descheduler/controllers/migration/controller.go 66.60% <88.46%> (+0.82%) ⬆️
pkg/koordlet/runtimehooks/reconciler/reconciler.go 78.94% <0.00%> (+7.36%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@hormes
Copy link
Member

hormes commented Aug 24, 2022

/lgtm
/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hormes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[proposal] koord-descheduler support eviction arbitrate mechanism

2 participants