@@ -309,7 +309,8 @@ This can inform certain test coverage improvements that we want to do before
309
309
extending the production code to implement this enhancement.
310
310
-->
311
311
312
- - ` <package> ` : ` <date> ` - ` <test coverage> `
312
+ - ` /apis/autoscaling/validation ` : ` 2024-11-13 ` - ` 95.6 `
313
+ - ` /pkg/controller/podautoscaler ` : ` 2024-11-13 ` - ` 96.4 `
313
314
314
315
##### Integration tests
315
316
@@ -342,7 +343,14 @@ https://storage.googleapis.com/k8s-triage/index.html
342
343
We expect no non-infra related flakes in the last month as a GA graduation criteria.
343
344
-->
344
345
345
- - <test >: <link to test coverage >
346
+ We will add the follow [ e2e autoscaling tests] :
347
+
348
+ - For both scale up and scale down:
349
+ - Workload does not scale because the metric ratio is in tolerance.
350
+ - Workload scales successfully because the metric ratio is out of tolerance.
351
+ - Autoscaling uses the default when no tolerances are set.
352
+
353
+ [ e2e autoscaling tests ] : https://github.com/kubernetes/kubernetes/tree/master/test/e2e/autoscaling
346
354
347
355
### Graduation Criteria
348
356
@@ -408,6 +416,11 @@ in back-to-back releases.
408
416
- Deprecate the flag
409
417
-->
410
418
419
+ #### Alpha
420
+
421
+ - Feature implemented behind a ` HPAConfigurableTolerance ` feature flag
422
+ - Initial e2e tests completed and enabled
423
+
411
424
### Upgrade / Downgrade Strategy
412
425
413
426
Upgrades present no particular issue: the new field won't be set and the HPA
@@ -420,8 +433,11 @@ ignore any configured `tolerance` field, and use the default (as specified by
420
433
421
434
### Version Skew Strategy
422
435
423
- This feature is entirely implemented in the horizontal autoscaling controller
424
- and does not introduce any changes that would be impacted by version skews.
436
+ 1 . ` kube-apiserver ` : More recent instances will accept the new 'tolerance'
437
+ field, while older will ignore it.
438
+ 2 . ` kube-controller-manager ` : An older version could receive an HPA containing
439
+ the new ` tolerance ` field from a more recent API server, in which case it
440
+ would ignore it (i.e. scale as if it was not present).
425
441
426
442
## Production Readiness Review Questionnaire
427
443
@@ -700,6 +716,10 @@ Describe them, providing:
700
716
- Estimated amount of new objects: (e.g., new Object X for every existing Pod)
701
717
-->
702
718
719
+ - This feature adds two new optional integer fields to ` HorizontalPodAutoscaler `
720
+ ` v2 ` objects. Users should expect this object to increase in size (5 bytes)
721
+ each time they set this new field.
722
+
703
723
###### Will enabling / using this feature result in increasing time taken by any operations covered by existing SLIs/SLOs?
704
724
705
725
<!--
0 commit comments