-
Notifications
You must be signed in to change notification settings - Fork 280
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
Fix concurrent admission in cohort when borrowing #805
Fix concurrent admission in cohort when borrowing #805
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
2a6f650
to
b2f415a
Compare
/retest |
/milestone v0.4 |
b2f415a
to
f0d14ca
Compare
f0d14ca
to
26dd904
Compare
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.
just some nits
/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.
just some nits
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, trasc 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 |
26dd904
to
c32e1a1
Compare
c32e1a1
to
48713ed
Compare
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
/label tide/merge-method-squash
tests failing due to kubernetes/test-infra#29622 |
/retest |
1 similar comment
/retest |
/test pull-kueue-test-integration-main |
/cherry-pick release-0.3 |
@alculquicondor: #805 failed to apply on top of branch "release-0.3":
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. |
@trasc can you create a manual cherry-pick for the release-0.3 branch? |
will do |
* [scheduler/tests] Concurrent preemption within cohort * [scheduler] Fix over-admission in concurrent preemption
Fix concurrent admission in cohort when borrowing (#805)
What type of PR is this?
/kind bug
What this PR does / why we need it:
Giving a situation with a cohort composed of more than two queues, in which at least one queue is borrowing resources , when two new workloads are evaluated for admission within the same scheduling cycle, since the two workloads are not aware of each other, they both can be evaluated as fit leading to over-admitting workloads within the cohort.
A simple solution could be to make sure that only one workload within a cohort is evaluated for admission within a single scheduling cycle, however since this can be a b drastic, we are limiting this limit to cohorts in which any of its queues is borrowing.
Which issue(s) this PR fixes:
Fixes #804
Special notes for your reviewer:
Does this PR introduce a user-facing change?