Skip to content
KEP Brain

KEP-4443keps/sig-apps/4443-configurable-pod-failure-policy-reasons

More granular Job failure reasons for PodFailurePolicyRule

implementablealphasig-appslatest v1.38
This KEP proposes adding an optional name field to PodFailurePolicyRule in the Job API. When a rule with action: FailJob matches a failed Pod, the Job controller will set the Job Failed condition reason to PodFailurePolicy_<ruleName>. If the field is unset, the controller derives the suffix from the rule index, preserving a deterministic machine-readable rea… Full summary

This KEP proposes adding an optional name field to PodFailurePolicyRule in the Job API. When a rule with action: FailJob matches a failed Pod, the Job controller will set the Job Failed condition reason to PodFailurePolicy_<ruleName>. If the field is unset, the controller derives the suffix from the rule index, preserving a deterministic machine-readable reason without requiring users to name every rule. The purpose of naming rules is to expose more detailed failure information in the Job status condition. This lets users configure multiple pod failure policy rules and lets higher-level controllers distinguish which rule, if any, caused a Job failure.

Facts

Approvers
@soltysh
PRR approvers
@jpbetzalpha
Tracking issue
#4443(opens GitHub in a new tab) openmilestone v1.38sig/appsstage/alphatracked/yeswg/batchlead-opted-in
Milestones
alpha v1.38
Participating SIGs
none
Feature gates
PodFailurePolicyName
Created / last updated
2024-02-05 / 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.