diff --git a/pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go b/pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go index 2b121ad5fab..9484fe952c7 100644 --- a/pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go +++ b/pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go @@ -58,7 +58,7 @@ type IsEligiblePodFunc func(nodeInfo *framework.NodeInfo, victim *framework.PodI // and the second one should be considered for preemption before the first one. // For performance reasons, the search for nodes eligible for preemption is done by omitting all // eligible victims from a node then checking whether the preemptor fits on the node without them, -// before adding back victims that still fit with the preemptor. +// before adding back victims (starting from the most important) that still fit with the preemptor. // The default behavior is to not consider pod affinity between the preemptor and the victims, // as affinity between pods that are eligible to preempt each other isn't recommended. type MoreImportantPodFunc func(pod1, pod2 *v1.Pod) bool