-
Notifications
You must be signed in to change notification settings - Fork 266
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
Simple Framework to support different queuing policies #10
Comments
/assign @denkensk |
Can you begin by enumerating the locations where there could be multiple policies in play? A few I have identified:
The next question is how many of those policies require a framework (like kube-scheduler) as opposed to being simple fields in the APIs. |
In addition to the ones you mentioned above, I think there are a few other locations that need support for extension.
It will be sample if we use it as the fields in APIs. But this does not prevent us from providing an extensible framework. |
I think it's too early to talk about a framework, but we can keep the discussion open for the future. |
We can clean the important-soon firstly. But in any case, we need to be able to allow users to customize their own policies, right? This is really needed! |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
Hi, I think adding such option to change or control on queue order is very important. we do a lot of thing on scheduler side since we have the option to extend it - queueSort, preFilter, filter, and more ..
we cant do that today because we have resources quota kueue is the solution :) also i don't think re-queuing and backoff so important we have the scheduler for that. just postFilter for start i believe will be good it will be user problem to take in care situation like
|
I wonder if the requirements you have can be general enough that they could make part of kueue, although at first glance they look very custom. It might be useful to you to think about how you would configure these sorting criteria. If you are open to share, we can provide feedback and if enough contributors find it useful we can just add it to kueue. Otherwise, you can start a design that abstracts the different places where you could inject your own logic. I don't think the current contributors have bandwidth to work on this, but you are certainly welcome to do so. I know @denkensk and @kerthcet have been thinking along these lines. |
@KunWuLuan @trasc maybe we should revisit this in the context of adding more queuing policies |
@alculquicondor hi, just want to say we already implement new CRD that do the Queue as we need and support kubeflow and Kubevirt operators. |
I think a framework is good for future work on queuing policies. |
@talcoh2x would you be willing to present in a WG Batch meeting? |
The biggest recent change is that preemption calculation moved to flavorAssigment. This opens more possibilities for policies. Perhaps something we can do is make FlavorAssigment an interface where each implementation is a policy. Then we strip down some of the existing code into library functions for building policies. I don't currently see the possibility for a phased approach like in kube-scheduler Filters. But any ideas like this? |
@alculquicondor Maybe we can make queueSort policy as an interface? this can contain multi cluster queue sort and multi local queue sort for a single cluster queue. |
Right, I would see that as a separate extension point. I agree that it could be useful. |
We need a simple framework to support different policies or algorithms for every phases in
Job scheduling
./kind feature
/cc @ahg-g @alculquicondor
The text was updated successfully, but these errors were encountered: