Skip to content

Commit a652804

Browse files
authored
Merge pull request #42110 from mimowo/mark-pod-failure-policy-as-beta
Bump API level in docs for the podFailurePolicy field (manual bump)
2 parents 1f525ce + 4233ef7 commit a652804

File tree

1 file changed

+2
-2
lines changed
  • content/en/docs/reference/kubernetes-api/workload-resources

1 file changed

+2
-2
lines changed

content/en/docs/reference/kubernetes-api/workload-resources/job-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ JobSpec describes how the job execution will look like.
117117

118118
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
119119

120-
### Alpha level
120+
### Beta level
121121

122122

123123
- **podFailurePolicy** (PodFailurePolicy)
124124

125125
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
126126

127-
This field is alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).
127+
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
128128

129129
<a name="PodFailurePolicy"></a>
130130
*PodFailurePolicy describes how failed pods influence the backoffLimit.*

0 commit comments

Comments
 (0)