Skip to content
KEP Brain

KEP-5598keps/sig-scheduling/5598-opportunistic-batching

Opportunistic batching

implementablebetasig-schedulinglatest v1.37
This KEP proposes an opportunistic batching mechanism in the scheduler to improve performance of scheduling many compatible pods at once, and to begin building the infrastructure required for gang scheduling. To implement this mechanism we propose the following additions: - Pod scheduling signature: A signature that captures the properties of a pod that imp… Full summary

This KEP proposes an opportunistic batching mechanism in the scheduler to improve performance of scheduling many compatible pods at once, and to begin building the infrastructure required for gang scheduling. To implement this mechanism we propose the following additions: - Pod scheduling signature: A signature that captures the properties of a pod that impact scoring and feasibility. - Batching mechanism: A mechanism to reuse the scheduling output from one pod to provide node hints for multiple subsequent pods with matching scheduling signatures. - Opportunistic batching: Transparent inclusion of the batching mechanism in the scheduler to improve the performance of targeted workloads that could benefit from it. - Rescoring: An extension to the batching mechanism that removes the one-pod-per-node limitation: when the last chosen node is still feasible, it is rescored in-place rather than flushing the batch.

Facts

Approvers
@sanposhiho
PRR approvers
@wojtek-tbeta
Tracking issue
#5598(opens GitHub in a new tab) opensig/schedulingstage/betatracked/nolead-opted-in
Milestones
beta v1.35stable v1.38
Participating SIGs
none
Feature gates
OpportunisticBatching
Created / last updated
2025-10-01 / none
Loading decisions and status history

Keyboard shortcuts

Everywhere

?
Show or hide this list
/
Focus the question box on Ask, otherwise the page search
Ctrl Kor⌘ K
Focus the KEP search in the top bar
t
Switch the theme (system, light, dark)
Esc
Close a dialog, a search list or a menu

Go to a page

Press g, then the letter

g h
Home
g a
Ask
g e
Explore
g u
Audit
g m
Memory
g b
About

Ask

Enter
Send the question
Shift Enter
New line in the question
Esc
Cancel the running question

Search lists

KEP search and Explore search

↓or↑
Move through the results
HomeorEnd
First or last result (Explore)
Enter
Open the highlighted result, or KEP-n when the query is a number

KEP page

o
Open the KEP on GitHub
y
Open kep.yaml on GitHub
a
Ask about this KEP
←or→
Previous or next tab, when a tab is focused

Findings table

With a finding row focused (Tab into the table or click a row)

jork
Next or previous finding
EnterorSpace
Expand or collapse the finding
o
Open the finding's KEP page
d
Draft the fix as an issue text (nothing is posted)
]or[
Next or previous page of findings

Shortcuts pause while you type in a field. Press ? or Esc to close.