Skip to content
KEP Brain

KEP-2214keps/sig-apps/2214-indexed-job

Indexed Job

implementedstablesig-appslatest v1.24
This KEP extends kubernetes with user-friendly support for running parallel jobs. Here, parallel means multiple pods per Job. Jobs can be: - Embarrassingly parallel, where the pods have no dependencies between each other. - Tightly coupled, where the Pods communicate among themselves to make progress kubernetes/kubernetes#99497 We propose the addition of c… Full summary

This KEP extends kubernetes with user-friendly support for running parallel jobs. Here, parallel means multiple pods per Job. Jobs can be: - Embarrassingly parallel, where the pods have no dependencies between each other. - Tightly coupled, where the Pods communicate among themselves to make progress kubernetes/kubernetes#99497 We propose the addition of completion indexes into the Pods of a *Job [with fixed completion count]* to support running embarrassingly parallel programs, with a focus on ease of use for workload partitioning. We call this new Job pattern an Indexed Job, because each Pod of the Job specializes to work on a particular index, as if the Pods where elements of an array. With the addition of a headless Service, Pods can address another Pod with a specific index with a DNS lookup, because the index is part of the hostname. [with fixed completion count]: https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs

Facts

PRR approvers
@wojtek-talpha@wojtek-tbeta@wojtek-tstable
Tracking issue
#2214(opens GitHub in a new tab) closedcompletedclosed 2022-05-09 13:34 UTCmilestone v1.24sig/appsstage/stable
Milestones
alpha v1.21beta v1.22stable v1.24
Participating SIGs
none
Feature gates
IndexedJob
Created / last updated
2020-12-29 / 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.