File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
vertical-pod-autoscaler/docs Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ spec:
210
210
kind: Deployment
211
211
name: my-app
212
212
updatePolicy:
213
- updateMode: "Auto"
213
+ updateMode: "Recreate" # Use explicit mode instead of deprecated " Auto"
214
214
resourcePolicy:
215
215
containerPolicies:
216
216
- containerName: "*"
Original file line number Diff line number Diff line change @@ -14,9 +14,10 @@ each controller that you want to have automatically computed resource requiremen
14
14
This will be most commonly a ** Deployment** .
15
15
There are five modes in which * VPAs* operate:
16
16
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
18
18
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.**
20
21
- ` "Recreate" ` : VPA assigns resource requests on pod creation as well as updates
21
22
them on existing pods by evicting them when the requested resources differ significantly
22
23
from the new recommendation (respecting the Pod Disruption Budget, if defined).
68
69
kind : Deployment
69
70
name : my-app
70
71
updatePolicy :
71
- updateMode : " Auto"
72
+ updateMode : " Recreate " # Use explicit mode instead of deprecated " Auto"
72
73
` ` `
73
74
74
75
## Troubleshooting
You can’t perform that action at this time.
0 commit comments