Add function NominatedPodsForNode to PodNominator interface.
- replace SchedulingQueue with PodNominator in genericScheduler.
This commit is contained in:
@@ -510,4 +510,6 @@ type PodNominator interface {
|
||||
DeleteNominatedPodIfExists(pod *v1.Pod)
|
||||
// UpdateNominatedPod updates the <oldPod> with <newPod>.
|
||||
UpdateNominatedPod(oldPod, newPod *v1.Pod)
|
||||
// NominatedPodsForNode returns nominatedPods on the given node.
|
||||
NominatedPodsForNode(nodeName string) []*v1.Pod
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user