You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vertical-pod-autoscaler/docs/api.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ _Appears in:_
155
155
156
156
| Field | Description | Default | Validation |
157
157
| --- | --- | --- | --- |
158
-
|`updateMode`_[UpdateMode](#updatemode)_| Controls when autoscaler applies changes to the pod resources.<br />The default is 'Auto'. || Enum: [Off Initial Recreate Auto] <br /> |
158
+
|`updateMode`_[UpdateMode](#updatemode)_| Controls when autoscaler applies changes to the pod resources.<br />The default is 'Auto'. || Enum: [Off Initial Recreate InPlaceOrRecreate Auto] <br /> |
159
159
|`minReplicas`_integer_| Minimal number of replicas which need to be alive for Updater to attempt<br />pod eviction (pending other checks like PDB). Only positive values are<br />allowed. Overrides global '--min-replicas' flag. |||
160
160
|`evictionRequirements`_[EvictionRequirement](#evictionrequirement) array_| EvictionRequirements is a list of EvictionRequirements that need to<br />evaluate to true in order for a Pod to be evicted. If more than one<br />EvictionRequirement is specified, all of them need to be fulfilled to allow eviction. |||
161
161
@@ -208,7 +208,7 @@ _Underlying type:_ _string_
208
208
UpdateMode controls when autoscaler applies changes to the pod resources.
|`Off`| UpdateModeOff means that autoscaler never changes Pod resources.<br />The recommender still sets the recommended resources in the<br />VerticalPodAutoscaler object. This can be used for a "dry run".<br /> |
219
219
|`Initial`| UpdateModeInitial means that autoscaler only assigns resources on pod<br />creation and does not change them during the lifetime of the pod.<br /> |
220
220
|`Recreate`| UpdateModeRecreate means that autoscaler assigns resources on pod<br />creation and additionally can update them during the lifetime of the<br />pod by deleting and recreating the pod.<br /> |
221
-
|`Auto`| UpdateModeAuto means that autoscaler assigns resources on pod creation<br />and additionally can update them during the lifetime of the pod,<br />using any available update method. Currently this is equivalent to<br />Recreate, which is the only available update method.<br /> |
221
+
|`Auto`| UpdateModeAuto means that autoscaler assigns resources on pod creation<br />and additionally can update them during the lifetime of the pod,<br />using any available update method. Currently this is equivalent to<br />Recreate.<br /> |
222
+
|`InPlaceOrRecreate`| UpdateModeInPlaceOrRecreate means that autoscaler tries to assign resources in-place.<br />If this is not possible (e.g., resizing takes too long or is infeasible), it falls back to the<br />"Recreate" update mode.<br />Requires VPA level feature gate "InPlaceOrRecreate" to be enabled<br />on the admission and updater pods.<br />Requires cluster feature gate "InPlacePodVerticalScaling" to be enabled.<br /> |
0 commit comments