Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lowerPriorityPods (0.1 sec)

  1. pkg/scheduler/framework/preemption/preemption.go

    	if len(podInfos) == 0 {
    		return nil
    	}
    
    	var lowerPriorityPods []*v1.Pod
    	podPriority := corev1helpers.PodPriority(pod)
    	for _, pi := range podInfos {
    		if corev1helpers.PodPriority(pi.Pod) < podPriority {
    			lowerPriorityPods = append(lowerPriorityPods, pi.Pod)
    		}
    	}
    	return lowerPriorityPods
    }
    
    // DryRunPreemption simulates Preemption logic on <potentialNodes> in parallel,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top