// if alwaysCheckAllPredicates is false, short circuit all predicates when one predicate fails.
if!alwaysCheckAllPredicates{
glog.V(5).Infoln("since alwaysCheckAllPredicates has not been set, the predicate evaluation is short circuited and there are chances of other predicates failing as well.")
break
}
}
}
}
}
}
}
...
@@ -917,7 +923,7 @@ func selectVictimsOnNode(
...
@@ -917,7 +923,7 @@ func selectVictimsOnNode(
// that we should check is if the "pod" is failing to schedule due to pod affinity
// that we should check is if the "pod" is failing to schedule due to pod affinity
// failure.
// failure.
// TODO(bsalamat): Consider checking affinity to lower priority pods if feasible with reasonable performance.
// TODO(bsalamat): Consider checking affinity to lower priority pods if feasible with reasonable performance.