Skip to content

Commit db872fc

Browse files
committed
only allow in-place if explicitly set (for testing)
1 parent 4ec6dc4 commit db872fc

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
@@ -363,7 +363,7 @@ func (u *updater) AttemptInPlaceScalingIfPossible(ctx context.Context, vpaSize i
363363
return
364364
}
365365

366-
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate || vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeAuto {
366+
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate {
367367

368368
// separate counters/stats for in-place updates
369369
withInPlaceUpdatable := false

0 commit comments

Comments
 (0)