-
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
Rework implementation for multiple admissions per cycle #1867
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/cc |
/assign |
in #2641, we enhance and simplify multiple preemption logic, by using the snapshot to account for usage. After promotion to beta in 0.9, we can delete the old code in 0.10 /close |
@gabesaba: Closing this issue. 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-sigs/prow repository. |
What would you like to be cleaned:
Re-design the logic that allows multiple admissions to happen per cycle without incurring in over admission.
I think a simpler approach would be along the lines of modifying the snapshot (add admitted workloads and remove preempted workloads within the cycle) and checking if the incoming workload still fits. There is a special case for workloads needing preemption where there are no candidates for preemption. I think we can add a smaller fake workload that reserves space for the workload without going beyond the nominal quotas.
Why is this needed:
The current logic has been reworked multiple times with various pros and cons.
Now it's very hard to follow.
The text was updated successfully, but these errors were encountered: