Skip to content

[Feature] [Alpha] Application Priority and Preemption #5961

Open
@RainbowMango

Description

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:

Iteration Tasks -- Part-2: Preemption in case of member clusters lack of capacity:

  • API change: Introduce preemptionPolicy to ResourceBinding
  • TBD

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.

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

  • Status

    Planned In Release 1.13

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions