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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,8 @@ _Appears in:_
48
48
|`maxAllowed`_[ResourceList](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcelist-v1-core)_| Specifies the maximum amount of resources that will be recommended<br />for the container. The default is no maximum. |||
49
49
|`controlledResources`_[ResourceName](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcename-v1-core)_| Specifies the type of recommendations that will be computed<br />(and possibly applied) by VPA.<br />If not specified, the default of [ResourceCPU, ResourceMemory] will be used. |||
50
50
|`controlledValues`_[ContainerControlledValues](#containercontrolledvalues)_| Specifies which resource values should be controlled.<br />The default is "RequestsAndLimits". || Enum: [RequestsAndLimits RequestsOnly] <br /> |
51
-
|`oomBumpUpRatio`_float_|OOMBumpUpRatio is the ratio to increase resources when OOM is detected. ||Minimum: 1 <br />|
52
-
|`oomMinBumpUp`_float_|OOMMinBumpUp is the minimum increase in resources when OOM is detected. ||Minimum: 0 <br />|
51
+
|`oomBumpUpRatio`_[Quantity](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#quantity-resource-api)_|oomBumpUpRatio is the ratio to increase memory when OOM is detected. |||
52
+
|`oomMinBumpUp`_[Quantity](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#quantity-resource-api)_|oomMinBumpUp is the minimum increase in memory when OOM is detected. |||
53
53
54
54
55
55
#### ContainerScalingMode
@@ -220,7 +220,7 @@ _Appears in:_
220
220
|`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 /> |
221
221
|`Initial`| UpdateModeInitial means that autoscaler only assigns resources on pod<br />creation and does not change them during the lifetime of the pod.<br /> |
222
222
|`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 /> |
223
-
|`Auto`|**Deprecated** - 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.**This mode is deprecated and will be removed in a future API version.**<br />**Use explicit modes like "Recreate", "Initial", or "InPlaceOrRecreate" instead.**<br />See [issue #8424](https://github.com/kubernetes/autoscaler/issues/8424) for more details.<br /> |
223
+
|`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 />Deprecated: This value is deprecated and will be removed in a future API version.<br />Use explicit update modes like "Recreate", "Initial", or "InPlaceOrRecreate" instead.<br />See https://github.com/kubernetes/autoscaler/issues/8424 for more details.<br /> |
224
224
|`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