Skip to content

Commit ea1c308

Browse files
committed
fix: hard topology spread constraints stop scaledown
Signed-off-by: MenD32 <[email protected]>
1 parent 3b22e16 commit ea1c308

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster-autoscaler/simulator/cluster.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ func (r *RemovalSimulator) findPlaceFor(removedNode string, pods []*apiv1.Pod, n
226226
klog.Errorf("Simulating removal of %s/%s return error; %v", pod.Namespace, pod.Name, err)
227227
}
228228
}
229+
r.clusterSnapshot.RemoveNodeInfo(removedNode)
229230

230231
newpods := make([]*apiv1.Pod, 0, len(pods))
231232
for _, podptr := range pods {

0 commit comments

Comments
 (0)