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/enhancements/7862-cpu-startup-boost/README.md
+55-17Lines changed: 55 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,13 +84,20 @@ VPA Admission Controller
84
84
85
85
1. The VPA Admission Controller modifies the pod's containers CPU request and
86
86
limits to align with its `StartupBoost` policy, if specified, during the pod
87
-
creation.
87
+
creation. The boosted value is based on the VPA recommendation available at the
88
+
time of admission. During the boost period, no resizing will take place.
88
89
89
90
1. The VPA Updater monitors pods targeted by the VPA object and when the pod
90
-
condition is `Ready` and `StartupBoost.CPU.Duration` has elapsed, it scales
91
-
down the CPU resources to the appropriate non-boosted value:
92
-
`existing VPA recommendation for that container` (if any) OR the
93
-
`CPU resources configured in the pod spec`.
91
+
condition is `Ready` and `StartupBoost.CPU.Duration` has elapsed, it scales
92
+
down the CPU resources to the appropriate non-boosted value. This "unboosting"
93
+
resizes the pod to whatever the recommendation is at that moment. The specific
94
+
behavior is determined by the VPA `updatePolicy`:
95
+
* If `updatePolicy` is `Auto`, `Recreate` or `InPlaceOrRecreate`, the VPA
96
+
Updater will apply the current VPA recommendation, even if it's higher than
97
+
the boosted value.
98
+
* If `updatePolicy` is `Off` for the VPA object, or `mode` is `Off` in a
99
+
container policy, the VPA Updater will revert the CPU resources to the
100
+
values specified in the pod spec.
94
101
* The scale down is applied [in-place](https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/1287-in-place-update-pod-resources).
95
102
96
103
### API Changes
@@ -101,22 +108,52 @@ The new `StartupBoost` parameter will be added to both:
0 commit comments