Skip to content

Commit 0d2686f

Browse files
address comments
1 parent acf1ae2 commit 0d2686f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

keps/sig-apps/4017-pod-index-label/README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,7 @@ well as the [existing list] of feature gates.
515515
- [X] Feature gate (also fill in values in `kep.yaml`)
516516
- Feature gate name: PodIndexLabel
517517
- Components depending on the feature gate:
518-
- StatefulSet controller
519-
- Job controller
518+
- kube-controller-manager
520519
- [ ] Other
521520
- Describe the mechanism:
522521
- Will enabling / disabling the feature require downtime of the control
@@ -530,7 +529,7 @@ well as the [existing list] of feature gates.
530529
Any change of default behavior may be surprising to users or break existing
531530
automations, so be extremely careful here.
532531
-->
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)
534533

535534
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
536535

@@ -545,7 +544,7 @@ feature.
545544
NOTE: Also set `disable-supported` to `true` or `false` in `kep.yaml`.
546545
-->
547546
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.
549548

550549
###### What happens if we reenable the feature if it was previously rolled back?
551550

@@ -566,7 +565,7 @@ feature gate after having objects written with the new field) are also critical.
566565
You can take a look at one potential example of such test in:
567566
https://github.com/kubernetes/kubernetes/pull/97058/files#diff-7826f7adbc1996a05ab52e3f5f02429e94b68ce6bce0dc534d1be636154fded3R246-R282
568567
-->
569-
We plan to add unit and integration tests.
568+
Given that this feature doesn't introduce any new API field, enablement/disablement tests will not provide reasonable value and won't be added.
570569

571570
### Rollout, Upgrade and Rollback Planning
572571

@@ -697,16 +696,16 @@ Jobs:
697696
StatefulSets:
698697
- Metric name: `statefulset_reconcile_delay`
699698
- [Optional] Aggregation method: `quantile`
700-
- Components exposing the metric: `pkg/controller/statefulset`
699+
- Components exposing the metric: `kube-controller-manager`
701700
- Metric name: `kube_statefulset_replicas`
702701
- [Optional] Aggregation method: `gauge`
703-
- Components exposing the metric: `pkg/controller/statefulset`
702+
- Components exposing the metric: `kube-controller-manager`
704703
- Metric name: `kube_statefulset_status_replicas`
705704
- [Optional] Aggregation method: `gauge`
706-
- Components exposing the metric: `pkg/controller/statefulset`
705+
- Components exposing the metric: `kube-controller-manager`
707706
- Metric name: `kube_statefulset_ordinals_start`
708707
- [Optional] Aggregation method: `gauge`
709-
- Components exposing the metric: `pkg/controller/statefulset`
708+
- Components exposing the metric: `kube-controller-manager`
710709

711710
###### Are there any missing metrics that would be useful to have to improve observability of this feature?
712711

@@ -847,11 +846,10 @@ The Troubleshooting section currently serves the `Playbook` role. We may conside
847846
splitting it into a dedicated `Playbook` document (potentially with some monitoring
848847
details). For now, we leave it here.
849848
-->
850-
N/A
851849

852850
###### How does this feature react if the API server and/or etcd is unavailable?
853851

854-
N/A
852+
Pods cannot be created, this feature doesn't change it though
855853

856854
###### What are other known failure modes?
857855

0 commit comments

Comments
 (0)