Skip to content

Commit f6be581

Browse files
committed
Update JobSuccessPolicy documentations for the beta graduation
Signed-off-by: Yuki Iwai <[email protected]>
1 parent b284960 commit f6be581

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

content/en/docs/concepts/workloads/controllers/job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ Here is a manifest for a Job with `successPolicy`:
598598
In the example above, both `succeededIndexes` and `succeededCount` have been specified.
599599
Therefore, the job controller will mark the Job as succeeded and terminate the lingering Pods
600600
when either of the specified indexes, 0, 2, or 3, succeed.
601-
The Job that meets the success policy gets the `SuccessCriteriaMet` condition.
601+
The Job that meets the success policy gets the `SuccessCriteriaMet` condition with a `SuccessPolicy` reason.
602602
After the removal of the lingering Pods is issued, the Job gets the `Complete` condition.
603603

604604
Note that the `succeededIndexes` is represented as intervals separated by a hyphen.

content/en/docs/reference/command-line-tools-reference/feature-gates/job-success-policy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ stages:
1010
- stage: alpha
1111
defaultValue: false
1212
fromVersion: "1.30"
13+
toVersion: "1.30"
14+
- stage: beta
15+
defaultValue: true
16+
fromVersion: "1.31"
1317
---
1418
Allow users to specify when a Job can be declared as succeeded based on the set of succeeded pods.

0 commit comments

Comments
 (0)