-
Notifications
You must be signed in to change notification settings - Fork 264
Added backfill action for BestEffort pods. #433
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: k82cn 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 |
Travis tests have failedHey @k82cn, 1st Buildmake verify
TravisBuddy Request Identifier: ea853060-cfa9-11e8-8e29-6bd38fa4cac4 |
Travis tests have failedHey @k82cn, 1st Buildmake verify
TravisBuddy Request Identifier: 71e09ee0-cfb0-11e8-8e29-6bd38fa4cac4 |
Travis tests have failedHey @k82cn, 1st Buildmake verify
make run-test
TravisBuddy Request Identifier: 0d0de470-cfb3-11e8-8e29-6bd38fa4cac4 |
pkg/scheduler/api/helpers.go
Outdated
func getTaskQoS(pod *v1.Pod) TaskQoS { | ||
request, limit := getResourceRequest(pod) | ||
|
||
if request.IsEmpty() && limit.IsEmpty() { |
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.
I think we can get QoS byPod.Status.QOSClass
directly, and no need to calculate
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
Travis tests have failedHey @k82cn, 1st Buildmake verify
TravisBuddy Request Identifier: 31bcb0c0-d054-11e8-84c3-e12343383572 |
Added backfill action for BestEffort pods.
Added backfill action for BestEffort pods.
Added backfill action for BestEffort pods.
Signed-off-by: Da K. Ma klaus1982.cn@gmail.com
fixes: #409