-
Notifications
You must be signed in to change notification settings - Fork 893
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
[Feature] [Alpha] Application Priority and Preemption #5961
Comments
Hi @RainbowMango , I can take the first two tasks first. Thank you so much for this! |
Sure thanks. Assigned and updated. |
@RainbowMango |
I have already implemented a priority queue demo, so I will continue to work on it. please assign it to me. |
Not sure about it yet. We probably need a feature gate to isolate the changes. Let's keep it on the list for now. |
Yes, this is his github: https://github.com/zclyne. Thank you! |
I'm quite interested in this task. If no one else claims it, I can be assigned it. |
Summary
Currently, the
karmada-scheduler
operates based on a First-In-First-Out scheduling order. In some real-world scenarios, like AI training, some jobs are more critical than others and require preferential treatment in terms of scheduling and resource allocation.We need the feature to enable users to specify the importance of an application. Applications with higher priority are scheduled ahead of other applications with lower priority. When member clusters do not have enough capacity for running a high priority application, the scheduler preempts and removes lower priority applications in order to make room for the high priority application.
Proposal:
Author:
References:
Iteration Tasks -- Part-1: Scheduling based on application priority:
priority class
toPropagationPolicy
(@seanlaii, Add priorityClassName in PropagationPolicy & ClusterPropagationPolicy #5962)priority
toResourceBinding
(@seanlaii, Add Priority and PreemptionPolicy fields in ResourceBinding #5963)ResourceBinding
Iteration Tasks -- Part-2: Preemption in case of member clusters lack of capacity:
ResourceBinding
Welcome Join us
If anyone is interested in this feature or would like to participate in its development, please leave a comment in this issue to claim the task you are interested in.
Note that this feature is still under discussion, and the listed iteration tasks might be subject to change.
The text was updated successfully, but these errors were encountered: