From 834d02b2d5cd70f6109ac65bfcf8971a327f0f45 Mon Sep 17 00:00:00 2001 From: Aleksandra Gacek Date: Wed, 2 Feb 2022 15:23:31 +0100 Subject: [PATCH] Remove disable scale down callback if schedulable pods are found in filter_out_schedulable. --- cluster-autoscaler/core/filter_out_schedulable.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cluster-autoscaler/core/filter_out_schedulable.go b/cluster-autoscaler/core/filter_out_schedulable.go index b48b8eae2be6..58f4d62a48b5 100644 --- a/cluster-autoscaler/core/filter_out_schedulable.go +++ b/cluster-autoscaler/core/filter_out_schedulable.go @@ -77,7 +77,6 @@ func (p *filterOutSchedulablePodListProcessor) Process( if len(unschedulablePodsToHelp) != len(unschedulablePods) { klog.V(2).Info("Schedulable pods present") - context.ProcessorCallbacks.DisableScaleDownForLoop() if context.DebuggingSnapshotter.IsDataCollectionAllowed() { schedulablePods := findSchedulablePods(unschedulablePods, unschedulablePodsToHelp)