-
Notifications
You must be signed in to change notification settings - Fork 316
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: LoadAware supports load scheduling by Prod Pods #843
koord-scheduler: LoadAware supports load scheduling by Prod Pods #843
Conversation
/hold |
Codecov ReportBase: 66.45% // Head: 66.51% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #843 +/- ##
==========================================
+ Coverage 66.45% 66.51% +0.05%
==========================================
Files 233 234 +1
Lines 26512 26614 +102
==========================================
+ Hits 17618 17701 +83
- Misses 7665 7672 +7
- Partials 1229 1241 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
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 at Codecov. |
89d9c2a
to
492e912
Compare
492e912
to
75e4846
Compare
/hold cancel |
/milestone v1.1 |
/lgtm |
/assign |
75e4846
to
8020298
Compare
Signed-off-by: Joseph <joseph.t.lee@outlook.com>
8020298
to
86203d2
Compare
/lgtm |
/lgtm |
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eahydra, FillZpp, ZiMengSheng 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work as always.
return time.Duration(*nodeMetric.Spec.CollectPolicy.ReportIntervalSeconds) * time.Second | ||
} | ||
|
||
func getPodNamespacedName(namespace, name string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个函数貌似在许多插件里都实现了一次,我们有空的时候或许可以把他扔进util里。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的。确实可以把一些函数挪到util的。
Signed-off-by: Joseph joseph.t.lee@outlook.com
Ⅰ. Describe what this PR does
ProdUsageThresholds
that defined in the config of scheduler or the annotation of nodes.The
ProdUsageThresholds
indicates the resource utilization threshold of Prod Pods compared to the whole machine.Not enable filter usage by
ProdUsageThresholds
by default.Ⅱ. Does this pull request fix one issue?
fix #314.
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist
make test