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: content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
+164-9Lines changed: 164 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ reviewers:
3
3
- fgrzadkowski
4
4
- jszczepkowski
5
5
- directxman12
6
+
- josephburnett
6
7
title: Horizontal Pod Autoscaler
7
8
feature:
8
9
title: Horizontal scaling
@@ -162,11 +163,15 @@ can be fetched, scaling is skipped. This means that the HPA is still capable
162
163
of scaling up if one or more metrics give a `desiredReplicas` greater than
163
164
the current value.
164
165
165
-
Finally, just before HPA scales the target, the scale recommendation is recorded. The
166
-
controller considers all recommendations within a configurable window choosing the
167
-
highest recommendation from within that window. This value can be configured using the `--horizontal-pod-autoscaler-downscale-stabilization` flag, which defaults to 5 minutes.
168
-
This means that scaledowns will occur gradually, smoothing out the impact of rapidly
169
-
fluctuating metric values.
166
+
Finally, just before HPA scales the target, the scale recommendation is
167
+
recorded. The controller considers all recommendations within a configurable
168
+
window choosing the highest recommendation from within that window. This value
169
+
can be configured using the
170
+
`--horizontal-pod-autoscaler-downscale-stabilization` flag or the HPA object
171
+
behavior `behavior.scaleDown.stabilizationWindowSeconds` (see [Support for
Kubernetes 1.6 adds support for scaling based on multiple metrics. You can use the `autoscaling/v2beta2` API
@@ -282,6 +289,154 @@ and [external.metrics.k8s.io](https://github.com/kubernetes/community/blob/maste
282
289
For examples of how to use them see [the walkthrough for using custom metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics)
283
290
and [the walkthrough for using external metrics](/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects).
0 commit comments