You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-apps/3939-allow-replacement-when-fully-terminated/README.md
+17-14
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
173
173
-[x] (R) Production readiness review completed
174
174
-[x] (R) Production readiness review approved
175
175
-[x] "Implementation History" section is up-to-date for milestone
176
-
-[] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
176
+
-[x] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
177
177
-[x] Supporting documentation—e.g., additional design documents, links to mailing list discussions/SIG meetings, relevant PRs/issues, release notes
178
178
179
179
<!--
@@ -501,17 +501,17 @@ Case With `JobPodReplacementPolicy` off
501
501
Case for disable and reenable `JobPodReplacementPolicy`
502
502
503
503
1. Create Job with `podReplacementPolicy: Failed`
504
-
1. Job starts pods that takes a while to terminate
505
-
1. Restart controller and disable `JobPodReplacementPolicy`
506
-
1. Delete some pods
507
-
1. Verify that terminating pods count as failed and pods are recreated.
508
-
1. Restart controller and reenable `JobPodReplacementPolicy`
509
-
1. Terminate pods with phase Succeeded.
510
-
1. Verify that pods still count as failed.
511
-
1. Delete remaining Pods.
512
-
1. Verify that `terminating` is tracked.
513
-
1. Verify that pod creation only occurs once pod is fully terminated.
514
-
1. Verify that pod creation only occurs once deletion happens.
504
+
2. Job starts pods that takes a while to terminate
505
+
3. Restart controller and disable `JobPodReplacementPolicy`
506
+
4. Delete some pods
507
+
5. Verify that terminating pods count as failed and pods are recreated.
508
+
6. Restart controller and reenable `JobPodReplacementPolicy`
509
+
7. Terminate pods with phase Succeeded.
510
+
8. Verify that pods still count as failed.
511
+
9. Delete remaining Pods.
512
+
10. Verify that `terminating` is tracked.
513
+
11. Verify that pod creation only occurs once pod is fully terminated.
514
+
12. Verify that pod creation only occurs once deletion happens.
515
515
516
516
To cover cases with `PodDisruptionCondition` we really only need to worry about tracking terminating fields.
517
517
Tests will verify counting of terminating fields regardless of `PodDisruptionCondition` being on or off.
@@ -570,6 +570,7 @@ We expect no non-infra related flakes in the last month as a GA graduation crite
570
570
- Address reviews and bug reports from Alpha users
571
571
- E2e tests are in Testgrid and linked in KEP
572
572
- The feature flag enabled by default
573
+
- `job_pods_creation_total`metric is added.
573
574
574
575
#### GA
575
576
@@ -756,7 +757,7 @@ During pod terminations, an operator can see that the terminating field is being
756
757
757
758
We will use a new metric:
758
759
759
-
- `job_pod_creation`(new) the `action` label will mention what triggers creation (`new`, `recreateTerminatingOrFailed`, `recreateTerminated`))
760
+
- `job_pods_creation_total`(new) the `action` label will mention what triggers creation (`new`, `recreateTerminatingOrFailed`, `recreateTerminated`))
760
761
This can be used to get the number of pods that are being recreated due to `recreateTerminated`. Otherwise we would expect to see `new` or `recreateTerminatingOrFailed` as the normal values.
761
762
762
763
<!--
@@ -902,7 +903,9 @@ No change from existing behavior of the Job controller.
0 commit comments