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/4017-pod-index-label/README.md
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -515,8 +515,7 @@ well as the [existing list] of feature gates.
515
515
-[X] Feature gate (also fill in values in `kep.yaml`)
516
516
- Feature gate name: PodIndexLabel
517
517
- Components depending on the feature gate:
518
-
- StatefulSet controller
519
-
- Job controller
518
+
- kube-controller-manager
520
519
-[ ] Other
521
520
- Describe the mechanism:
522
521
- Will enabling / disabling the feature require downtime of the control
@@ -530,7 +529,7 @@ well as the [existing list] of feature gates.
530
529
Any change of default behavior may be surprising to users or break existing
531
530
automations, so be extremely careful here.
532
531
-->
533
-
Yes - when we start setting a new label, if someone is doing deep-equal comparison, those will start failing.
532
+
Yes, a new label is added to pods created for StatefulSet (statefulset.kubernetes.io/pod-index) and Indexed Jobs (batch.kubernetes.io/job-completion-index)
534
533
535
534
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
536
535
@@ -545,7 +544,7 @@ feature.
545
544
NOTE: Also set `disable-supported` to `true` or `false` in `kep.yaml`.
546
545
-->
547
546
Yes. If the feature gate is disabled, the StatefulSet/Job controller will not add the
548
-
pod index as a label.
547
+
pod index as a label. Already existing pods will not be modified.
549
548
550
549
###### What happens if we reenable the feature if it was previously rolled back?
551
550
@@ -566,7 +565,7 @@ feature gate after having objects written with the new field) are also critical.
566
565
You can take a look at one potential example of such test in:
0 commit comments