Skip to content
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

Closed
alculquicondor opened this issue Mar 18, 2024 · 7 comments
Closed

Rework implementation for multiple admissions per cycle #1867

alculquicondor opened this issue Mar 18, 2024 · 7 comments
Assignees
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@alculquicondor
Copy link
Contributor

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.

@alculquicondor alculquicondor added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Mar 18, 2024
@alculquicondor
Copy link
Contributor Author

cc @yaroslava-serdiuk

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 16, 2024
@alculquicondor
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 25, 2024
@gabesaba
Copy link
Contributor

/cc

@gabesaba
Copy link
Contributor

/assign

@gabesaba
Copy link
Contributor

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

@k8s-ci-robot
Copy link
Contributor

@gabesaba: Closing this issue.

In response to this:

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

No branches or pull requests

4 participants