From 6250a5169c7b02dc2864cd425abd71753a20d90d Mon Sep 17 00:00:00 2001 From: Stoyan Vitanov <stoyan.vitanov@sap.com> Date: Thu, 29 May 2025 10:10:07 +0300 Subject: [PATCH] docs(vpa): Add `InPlaceOrRecreate` updateMode details to `quickstart` guide This commit adds an entry for the `InPlaceOrRecreate` _updateMode_ that got introduced as part of the `v1.4.0` release. --- vertical-pod-autoscaler/docs/quickstart.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vertical-pod-autoscaler/docs/quickstart.md b/vertical-pod-autoscaler/docs/quickstart.md index 7ef784d300..59f6352a0f 100644 --- a/vertical-pod-autoscaler/docs/quickstart.md +++ b/vertical-pod-autoscaler/docs/quickstart.md @@ -25,6 +25,9 @@ There are four modes in which *VPAs* operate: This mode should be used rarely, only if you need to ensure that the pods are restarted whenever the resource request changes. Otherwise, prefer the `"Auto"` mode which may take advantage of restart-free updates once they are available. +- `"InPlaceOrRecreate"`: VPA assigns resource requests on pod creation as well as updates + 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. + If `in-place` update fails, it falls back to evicting the pods, performing a _recreation_. - `"Initial"`: VPA only assigns resource requests on pod creation and never changes them later. - `"Off"`: VPA does not automatically change the resource requirements of the pods. -- GitLab