Skip to content

Commit b75b2b5

Browse files
committed
only allow in-place if explicitly set (for testing)
1 parent d5ccb23 commit b75b2b5

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func (u *updater) AttemptInPlaceScalingIfPossible(ctx context.Context, vpaSize i
380380
return
381381
}
382382

383-
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate || vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeAuto {
383+
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate {
384384

385385
// separate counters/stats for in-place updates
386386
withInPlaceUpdatable := false

0 commit comments

Comments
 (0)