Skip to content

Commit 2964572

Browse files
jm-francsftim
andauthored
Apply suggestions from code review
Fix nits following code-review. Co-authored-by: Tim Bannister <[email protected]>
1 parent 4ce48b6 commit 2964572

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/en/docs/reference/command-line-tools-reference/feature-gates/HPAConfigurableTolerance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ stages:
1111
fromVersion: "1.33"
1212
---
1313
Enables setting a [tolerance threshold](/docs/tasks/run-application/horizontal-pod-autoscale.md#tolerance)
14-
for `HorizontalPodAutoscaler` metrics.
14+
for HorizontalPodAutoscaler metrics.

content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ autoscaler from scaling for changes below that value.
462462

463463
This tolerance is defined as the amount of variation around the desired metric value under
464464
which no scaling will occur. For example, consider a HorizontalPodAutoscaler configured
465-
with a target memory consumption of 100Mi and a scale-up tolerance of 5%:
465+
with a target memory consumption of 100MiB and a scale-up tolerance of 5%:
466466

467467
```yaml
468468
behavior:
@@ -471,12 +471,12 @@ behavior:
471471
```
472472

473473
With this configuration, the HPA algorithm will only consider scaling up if the memory
474-
consumption is higher than 105Mi (i.e. 5% above the target).
474+
consumption is higher than 105MiB (that is: 5% above the target).
475475

476476
If you don't set this field, the HPA applies the default cluster-wide tolerance of 10%. This
477477
default can be updated for both scale-up and scale-down using the
478478
[kube-controller-manager](/docs/reference/command-line-tools-reference/kube-controller-manager/)
479-
`--horizontal-pod-autoscaler-tolerance` flag. (You can't use the Kubernetes API
479+
`--horizontal-pod-autoscaler-tolerance` command line argument. (You can't use the Kubernetes API
480480
to configure this default value.)
481481

482482
### Default Behavior

0 commit comments

Comments
 (0)