Skip to content

Commit 3d22e4c

Browse files
committed
update docs
1 parent f99c5e1 commit 3d22e4c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

vertical-pod-autoscaler/docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ spec:
210210
kind: Deployment
211211
name: my-app
212212
updatePolicy:
213-
updateMode: "Auto"
213+
updateMode: "Recreate" # Use explicit mode instead of deprecated "Auto"
214214
resourcePolicy:
215215
containerPolicies:
216216
- containerName: "*"

vertical-pod-autoscaler/docs/quickstart.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ each controller that you want to have automatically computed resource requiremen
1414
This will be most commonly a **Deployment**.
1515
There are five modes in which *VPAs* operate:
1616

17-
- `"Auto"`: VPA assigns resource requests on pod creation as well as updates
17+
- `"Auto"` (**Deprecated**): 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).
19+
equivalent to `"Recreate"` (see below). **This mode is deprecated and will be removed in a future API version.**
20+
**Use explicit modes like "Recreate", "Initial", or "InPlaceOrRecreate" instead.**
2021
- `"Recreate"`: VPA assigns resource requests on pod creation as well as updates
2122
them on existing pods by evicting them when the requested resources differ significantly
2223
from the new recommendation (respecting the Pod Disruption Budget, if defined).
@@ -68,7 +69,7 @@ spec:
6869
kind: Deployment
6970
name: my-app
7071
updatePolicy:
71-
updateMode: "Auto"
72+
updateMode: "Recreate" # Use explicit mode instead of deprecated "Auto"
7273
```
7374
7475
## Troubleshooting

0 commit comments

Comments
 (0)