Skip to content
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-scheduler: ignore non-existing resources in NUMA Node #1607

Merged

Conversation

eahydra
Copy link
Member

@eahydra eahydra commented Sep 3, 2023

Ⅰ. Describe what this PR does

At present, koordlet only reports cpu/memory in NodeResourceTopology. If a Pod requests resources from other resources, the Pod will not be able to be scheduled. So we should skip these non-existing resources.

Ⅱ. 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

@eahydra eahydra added this to the v1.4 milestone Sep 3, 2023
@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

Patch coverage: 70.83% and project coverage change: +0.13% 🎉

Comparison is base (199e650) 64.70% compared to head (3a3610b) 64.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1607      +/-   ##
==========================================
+ Coverage   64.70%   64.84%   +0.13%     
==========================================
  Files         361      361              
  Lines       37636    37648      +12     
==========================================
+ Hits        24351    24411      +60     
+ Misses      11493    11445      -48     
  Partials     1792     1792              
Flag Coverage Δ
unittests 64.84% <70.83%> (+0.13%) ⬆️

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

Files Changed Coverage Δ
.../scheduler/frameworkext/topologymanager/manager.go 0.00% <0.00%> (ø)
...duler/plugins/nodenumaresource/resource_manager.go 51.35% <77.27%> (+13.62%) ⬆️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@koordinator-bot koordinator-bot bot added size/L and removed size/M labels Sep 4, 2023
@eahydra eahydra requested a review from hormes September 4, 2023 02:51
@hormes
Copy link
Member

hormes commented Sep 4, 2023

/lgtm

@ZiMengSheng
Copy link
Contributor

/lgtm

Copy link
Member Author

@eahydra eahydra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@koordinator-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eahydra

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@koordinator-bot koordinator-bot bot merged commit cda1467 into koordinator-sh:main Sep 4, 2023
19 checks passed
ls-2018 pushed a commit to ls-2018/koordinator that referenced this pull request Mar 25, 2024
ls-2018 pushed a commit to ls-2018/koordinator that referenced this pull request Mar 25, 2024
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.

3 participants