Skip to content

Commit c9a1bd2

Browse files
committed
update doc
Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
1 parent 1a064dc commit c9a1bd2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pkg/linters/templates/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,19 @@ spec:
190190
Error: VPA updateMode cannot be 'Auto'
191191
```
192192
193+
**Why updateMode: Auto is no longer supported:**
194+
195+
The `updateMode: Auto` is no longer supported (considered deprecated) because in the upstream `Vertical Pod Autoscaler`, this mode has been deprecated since `VPA 1.4.0` and is now an alias for `Recreate` - that is, it always works through eviction/recreation of Pods and does not provide the advantages of in-place resizing.
196+
In `Deckhouse`, this has been fixed with a change: all `Deckhouse-managed VPAs` have been switched from `Auto` to `InPlaceOrRecreate` so that, if Kubernetes support is available, in-place resource updates are performed, and if it is not available, a fallback to eviction is performed.
197+
198+
**Which mode to use instead of Auto**
199+
200+
Use `InPlaceOrRecreate` — the preferred mode: it attempts to update resources without restarting the Pod and falls back to eviction (`Recreate`) if necessary.
201+
Use `Recreate` if you only need an eviction-based approach and are consciously prepared for Pod restarts.
202+
`Off` and `Initial` remain unchanged.
203+
204+
See [PR 17011](https://github.com/deckhouse/deckhouse/pull/17011) for more details.
205+
193206
✅ **Correct** - Deployment with proper VPA:
194207

195208
```yaml

0 commit comments

Comments
 (0)