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#491volcano-sh-bot merged 12 commits intovolcano-sh:masterfrom
Conversation
Travis tests have failedHey @yuanchen8911, TravisBuddy Request Identifier: 1eb81200-f9b4-11e9-93c5-f3e7c8487984 |
| 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.
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 DetailsNeeds 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.