Skip to content

Commit 6d1ffc9

Browse files
committed
Adds VPA section
1 parent 7d9fcf3 commit 6d1ffc9

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

content/en/docs/concepts/workloads/autoscaling.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,29 @@ There is a [walkthrough tutorial](/docs/tasks/run-application/horizontal-pod-aut
5757

5858
### Scaling workloads vertically
5959

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.
82+
{{< /table >}}
6183

6284
### Event driven Autoscaling
6385

0 commit comments

Comments
 (0)