Skip to content

Commit e69b1a9

Browse files
authored
Merge pull request #8182 from vitanovs/feat/update-quickstart-guide-with-in-place-update-mode-details
docs(vpa): Add `InPlaceOrRecreate` to `quickstart` guide `updateMode`(s) list
2 parents 9c501ed + d49fb86 commit e69b1a9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

vertical-pod-autoscaler/docs/quickstart.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ resource requests for your pods.
1212
In order to use it, you need to insert a *Vertical Pod Autoscaler* resource for
1313
each controller that you want to have automatically computed resource requirements.
1414
This will be most commonly a **Deployment**.
15-
There are four modes in which *VPAs* operate:
15+
There are five modes in which *VPAs* operate:
1616

1717
- `"Auto"`: VPA assigns resource requests on pod creation as well as updates
1818
them on existing pods using the preferred update mechanism. Currently, this is
19-
equivalent to `"Recreate"` (see below). Once restart free ("in-place") update
20-
of pod requests is available, it may be used as the preferred update mechanism by
21-
the `"Auto"` mode.
19+
equivalent to `"Recreate"` (see below).
2220
- `"Recreate"`: VPA assigns resource requests on pod creation as well as updates
2321
them on existing pods by evicting them when the requested resources differ significantly
2422
from the new recommendation (respecting the Pod Disruption Budget, if defined).
2523
This mode should be used rarely, only if you need to ensure that the pods are restarted
26-
whenever the resource request changes. Otherwise, prefer the `"Auto"` mode which may take
27-
advantage of restart-free updates once they are available.
24+
whenever the resource request changes.
25+
- `"InPlaceOrRecreate"`[__alpha feature__]: VPA assigns resource requests on pod creation as well as updates
26+
them on existing pods by leveraging [Kubernetes `in-place` update](https://kubernetes.io/blog/2025/05/16/kubernetes-v1-33-in-place-pod-resize-beta/) capability.
27+
If `in-place` update fails, it falls back to evicting the pods, performing a _recreation_.
28+
For more details, see the [In-Place Updates documentation](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/docs/features.md#in-place-updates-inplaceorrecreate).
2829
- `"Initial"`: VPA only assigns resource requests on pod creation and never changes them
2930
later.
3031
- `"Off"`: VPA does not automatically change the resource requirements of the pods.

0 commit comments

Comments
 (0)