Skip to content

Commit 245a3cd

Browse files
committed
only allow in-place if explicitly set (for testing)
1 parent 0f37d5d commit 245a3cd

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
@@ -371,7 +371,7 @@ func (u *updater) AttemptInPlaceScalingIfPossible(ctx context.Context, vpaSize i
371371
return
372372
}
373373

374-
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate || vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeAuto {
374+
if vpa_api_util.GetUpdateMode(vpa) == vpa_types.UpdateModeInPlaceOrRecreate {
375375

376376
// separate counters/stats for in-place updates
377377
withInPlaceUpdatable := false

0 commit comments

Comments
 (0)