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
The CPU Startup Boost feature allows VPA to temporarily increase CPU requests and limits for containers during pod startup. This can help workloads that have high CPU demands during their initialization phase, such as Java applications, to start faster. Once the pod is considered `Ready` and an optional duration has passed, VPA scales the CPU resources back down to their normal levels using an in-place resize.
164
164
@@ -184,7 +184,8 @@ spec:
184
184
updateMode: "Recreate"
185
185
startupBoost:
186
186
cpu:
187
-
value: "3"
187
+
type: "Factor"
188
+
factor: 3
188
189
duration: 10s
189
190
```
190
191
@@ -197,7 +198,7 @@ spec:
197
198
### Requirements
198
199
199
200
* Kubernetes 1.33+ with the `InPlacePodVerticalScaling` feature gate enabled.
200
-
* VPA version 1.5.0+ with the `CPUStartupBoost` feature gate enabled.
201
+
* VPA version 1.6.0+ with the `CPUStartupBoost` feature gate enabled.
201
202
202
203
### Configuration
203
204
@@ -207,7 +208,8 @@ Enable the feature by setting the `CPUStartupBoost` feature gate in the VPA admi
207
208
--feature-gates=CPUStartupBoost=true
208
209
```
209
210
210
-
The `startupBoost` field has the following sub-fields:
211
-
* `cpu.type`: The type of boost. Can be `Factor` (default) to multiply the CPU, or `Quantity` to set a specific CPU value.
212
-
* `cpu.value`: The magnitude of the boost. A multiplier (e.g., "2") for `Factor` type, or a resource quantity (e.g., "500m") for `Quantity` type.
213
-
* `cpu.duration`: (Optional) How long to keep the boost active *after* the pod becomes `Ready`. Defaults to `0s`.
211
+
The `startupBoost` field contains a `cpu` field with the following sub-fields:
212
+
* `type`: (Required) The type of boost. Can be `Factor` to multiply the CPU, or `Quantity` to add a specific CPU value.
213
+
* `factor`: (Optional) The multiplier to apply if `type` is `Factor` (e.g., 2 for 2x CPU). Required if `type` is `Factor`.
214
+
* `quantity`: (Optional) The amount of CPU to add if `type` is `Quantity` (e.g., "500m"). Required if `type` is `Quantity`.
215
+
* `duration`: (Optional) How long to keep the boost active *after* the pod becomes `Ready`. Defaults to `0s`.
0 commit comments