-
Notifications
You must be signed in to change notification settings - Fork 264
Fix Resource Sub exception in Reclaim&Preempt Actions #660
Fix Resource Sub exception in Reclaim&Preempt Actions #660
Conversation
please merge the commit into one. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: k82cn, TommyLike 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 |
/cc @Donghuizhuo |
@k82cn: GitHub didn't allow me to request PR reviews from the following users: Donghuizhuo. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The patch LGTM. It is better to some explanation for the preconditions of the function |
3b7976e
to
a8d7baa
Compare
a8d7baa
to
7f767c8
Compare
/lgtm |
…#642-#638-#645-#647-#651-#652-#655-#658-#649-#660-#666-#671-#673-upstream-release-0.4 Automated cherry pick of #643: Return err in Allocate if any error occurs #642: Add event when task is scheduled #638: Take init containers into account when getting pod resource #645: Order task by CreationTimestamp first, then by UID #647: In allocate, skip adding Job if its queue is not found #651: Return err in functions of session.go if any error occurs #652: Change run option SchedulePeriod's type to make it clear #655: Do graceful eviction using default policy #658: Address helm install error in tutorial.md #649: Preempt lowest priority task first #660: Fix sub exception in reclaim and preempt #666: Fix wrong caculation for deserved in proportion plugin #671: Change base image to alphine to reduce image size #673: Do not create PodGroup and Job for task whose scheduler is
…error Fix Resource Sub exception in Reclaim&Preempt Actions
…error Fix Resource Sub exception in Reclaim&Preempt Actions
…error Fix Resource Sub exception in Reclaim&Preempt Actions
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #659
Special notes for your reviewer:
Considering the case below:
The
LessEqual
method will always fail no matter which is used as left operandRelease note: