-
Notifications
You must be signed in to change notification settings - Fork 924
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. |
I can take on these two tasks:
|
OK Leon. Assigned them to you. |
Hi all, @seanlaii @LeonZh0u @whitewindmills Do you guys want to bring this feature into the coming release, which is v1.13.0 scheduled at the end of this month? I know the time is tight, but there is still a chance to have a minimal version of this feature. |
Yes, I really hope we can include this feature in the v1.13.0 release. I understand the timeline is tight, but I’m willing to push for a minimal version within the schedule. Thank you! |
OK. Let's start with the API parts which are the prerequisites of this feature. I left some comments on your PR, by the way. |
+1 |
FYI. The API part has been merged, we can proceed with the implementations now. Thank you! |
Hi @zhzhuang-zju , are you planning to work on the Webhook? I can take the E2E tests. Thank you! |
@seanlaii If you're interested in this task, feel free to take it. I can spend more time on the review. |
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
(@LeonZh0u )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: