-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Control the number of feasible nodes to find and score in scheduling #491
Control the number of feasible nodes to find and score in scheduling #491
Conversation
Travis tests have failedHey @yuanchen8911, TravisBuddy Request Identifier: 1eb81200-f9b4-11e9-93c5-f3e7c8487984 |
cmd/scheduler/app/options/options.go
Outdated
@@ -33,6 +33,11 @@ const ( | |||
|
|||
defaultQPS = 50.0 | |||
defaultBurst = 100 | |||
|
|||
// Default arameters to control the number of feasible nodes to find and score |
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.
s/arameters/parameters ?
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.
Fixed the errors. make verify and unit-test passed. Thanks.
/approve LGTM overall, would you help to fix ci issue? We can get this merged when CI is happy :) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: k82cn, yuanchen8911 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 |
Hey @yuanchen8911, TravisBuddy Request Identifier: 04a5f9b0-fa98-11e9-9401-ff5cf87227ee |
/lgtm |
/lgtm |
Hey @yuanchen8911, TravisBuddy Request Identifier: 1c0088e0-fac1-11e9-94bd-fbbf6873bcfd |
Hey @yuanchen8911, TravisBuddy Request Identifier: 76506de0-fac3-11e9-94bd-fbbf6873bcfd |
Added a new feature that allows the scheduler to stop looking for more feasible nodes once it finds a certain number of them. The idea is described in the official document https://kubernetes.io/docs/concepts/scheduling/scheduler-perf-tuning/.
The implementation is similar to the K8S official scheduler https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/core/generic_scheduler.go
The number of feasible nodes is determined by the following parameters.