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
Since the added field is optional and has a default value compatible with the
261
-
current autoscaling behavior, this feature can be added to the current API
260
+
Since the added field is optional and it's omission results in no change to the existing
261
+
autoscaling behavior, this feature can be added to the current API
262
262
version `pkg/apis/autoscaling/v2`.
263
263
264
-
The feature presented in this KEP only allows to tune an existing parameter, and
264
+
The feature presented in this KEP only allows users to tune an existing parameter, and
265
265
as such doesn't require any new HPA Events or modify any Status. A new error is
266
266
emitted if a `tolerance` field is set to a negative value.
267
267
@@ -426,13 +426,15 @@ in back-to-back releases.
426
426
427
427
### Upgrade / Downgrade Strategy
428
428
429
-
Upgrades present no particular issue: the new field won't be set and the HPA
430
-
will behave like it does today. Users can use the new feature by setting the
431
-
new `tolerance` field (provided the Feature Gate is enabled).
429
+
#### Upgrade
430
+
Existing HPAs will continue to work as they do today, using the global `horizontal-pod-autoscaler-tolerance`
431
+
value from the `kube-controller-manager`. Users can use the new feature by enabling the Feature
432
+
Gate (alpha only) and setting the new `tolerance` field on an HPA.
432
433
433
-
On downgrades to a version that does not support this functionality, an HPA will
434
-
ignore any configured `tolerance` field, and use the default (as specified by
435
-
`--horizontal-pod-autoscaler-tolerance`).
434
+
#### Downgrade
435
+
On downgrade, all HPAs will revert to using the global `horizontal-pod-autoscaler-tolerance`
436
+
value from the `kube-controller-manager`, regardless of any configured `tolerance` value on the HPA
437
+
itself.
436
438
437
439
### Version Skew Strategy
438
440
@@ -495,6 +497,8 @@ Any change of default behavior may be surprising to users or break existing
495
497
automations, so be extremely careful here.
496
498
-->
497
499
500
+
No.
501
+
498
502
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
499
503
500
504
<!--
@@ -508,8 +512,14 @@ feature.
508
512
NOTE: Also set `disable-supported` to `true` or `false` in `kep.yaml`.
509
513
-->
510
514
515
+
The feature can be disabled by restarting the `kube-controller-manager` with the feature gate set to `false`.
516
+
517
+
Any `tolerance` values set on existing HPAs will be ignored by the `kube-controller-manager` when the feature gate is off.
518
+
511
519
###### What happens if we reenable the feature if it was previously rolled back?
512
520
521
+
When the feature is re-enabled, any HPAs with configured `tolerance` values will use those when calculating replica counts, rather than the global tolerance from the `kube-controller-manager`.
522
+
513
523
###### Are there any tests for feature enablement/disablement?
514
524
515
525
<!--
@@ -687,6 +697,8 @@ Focusing mostly on:
687
697
heartbeats, leader election, etc.)
688
698
-->
689
699
700
+
No.
701
+
690
702
###### Will enabling / using this feature result in introducing new API types?
691
703
692
704
<!--
@@ -696,6 +708,8 @@ Describe them, providing:
696
708
- Supported number of objects per namespace (for namespace-scoped objects)
697
709
-->
698
710
711
+
No.
712
+
699
713
###### Will enabling / using this feature result in any new calls to the cloud provider?
700
714
701
715
<!--
@@ -704,6 +718,8 @@ Describe them, providing:
704
718
- Estimated increase:
705
719
-->
706
720
721
+
No.
722
+
707
723
###### Will enabling / using this feature result in increasing size or count of the existing API objects?
0 commit comments