Skip to content

Commit 2fa0144

Browse files
committed
fixup! fixup! VPA: Allow VPA updater to actuate recommendations in-place
Signed-off-by: Max Cao <[email protected]>
1 parent 42e198e commit 2fa0144

File tree

1 file changed

+6
-1
lines changed
  • vertical-pod-autoscaler/pkg/updater/logic

1 file changed

+6
-1
lines changed

vertical-pod-autoscaler/pkg/updater/logic/updater.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ import (
5353
)
5454

5555
const (
56-
DeferredResizeUpdateTimeout = 1 * time.Minute
56+
// DeferredResizeUpdateTimeout defines the duration during which an in-place resize request
57+
// is considered deferred. If the resize is not completed within this time, it falls back to eviction.
58+
DeferredResizeUpdateTimeout = 1 * time.Minute
59+
60+
// InProgressResizeUpdateTimeout defines the duration during which an in-place resize request
61+
// is considered in progress. If the resize is not completed within this time, it falls back to eviction.
5762
InProgressResizeUpdateTimeout = 1 * time.Hour
5863
)
5964

0 commit comments

Comments
 (0)