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/concepts/workloads/autoscaling.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,29 @@ There is a [walkthrough tutorial](/docs/tasks/run-application/horizontal-pod-aut
57
57
58
58
### Scaling workloads vertically
59
59
60
-
_tbd_
60
+
You can automatically scale a workload vertically using a _VerticalPodAutoscaler_ (VPA).
61
+
Different to the HPA, the VPA doesn't come with Kubernetes by default, but is a separate project
62
+
that can be found [on GitHub](https://github.com/kubernetes/autoscaler/tree/9f87b78df0f1d6e142234bb32e8acbd71295585a/vertical-pod-autoscaler).
63
+
64
+
Once installed, it allows you to create {{< glossary_tooltip text="CustomResourceDefinitions" term_id="customresourcedefinition" >}}
65
+
(CRDs) for your workloads which define _how_ and _when_ to scale the resources of the managed replicas.
66
+
67
+
{{< note >}}
68
+
The current default version of the HPA (**v0.14.0**) requires **Kubernetes version 1.25** or later.
69
+
You will also need to have the [Metrics Server](https://github.com/kubernetes-sigs/metrics-server)
70
+
installed to your cluster.
71
+
{{< /note >}}
72
+
73
+
At the moment, the VPA operates can operate in four different modes:
74
+
75
+
{{< table caption="Different modes of the VPA" >}}
76
+
Mode | Description
77
+
:----|:-----------
78
+
`Auto` | Currently `Recreate`, might change to in-place updates in the future
79
+
`Recreate` | The VPA assigns resource requests on pod creation as well as updates them on existing pods by evicting them when the requested resources differ significantly from the new recommendation
80
+
`Initial` | The VPA only assigns resource requests on pod creation and never changes them later.
81
+
`Off` | The VPA does not automatically change the resource requirements of the pods. The recommendations are calculated and can be inspected in the VPA object.
0 commit comments