Skip to content
Snippets Groups Projects
Commit 3a2933a2 authored by MenD32's avatar MenD32
Browse files

docs: added helpful comments

parent 4e8bd0ad
No related branches found
No related tags found
No related merge requests found
......@@ -226,6 +226,7 @@ func (r *RemovalSimulator) findPlaceFor(removedNode string, pods []*apiv1.Pod, n
klog.Errorf("Simulating removal of %s/%s return error; %v", pod.Namespace, pod.Name, err)
}
}
// Remove the node from the snapshot, so that it doesn't interfere with topology spread constraint scheduling.
r.clusterSnapshot.RemoveNodeInfo(removedNode)
newpods := make([]*apiv1.Pod, 0, len(pods))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment