diff --git a/cluster-autoscaler/processors/nodes/pre_filtering_processor.go b/cluster-autoscaler/processors/nodes/pre_filtering_processor.go index 2973d8105d50..d8428426ccce 100644 --- a/cluster-autoscaler/processors/nodes/pre_filtering_processor.go +++ b/cluster-autoscaler/processors/nodes/pre_filtering_processor.go @@ -62,8 +62,9 @@ func (n *PreFilteringScaleDownNodeProcessor) GetScaleDownCandidates(ctx *context klog.Errorf("Error while checking node group size %s: group size not found", nodeGroup.Id()) continue } - if size <= nodeGroup.MinSize() { - klog.V(1).Infof("Skipping %s - node group min size reached", node.Name) + minSize := nodeGroup.MinSize() + if size <= minSize { + klog.V(1).Infof("Skipping %s - node group min size reached (current: %d, min: %d)", node.Name, size, minSize) continue } result = append(result, node)