Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for waitingPods (0.33 sec)

  1. pkg/scheduler/scheduler_test.go

    			wg.Wait()
    
    			// Ensure that all waitingPods in scheduler can be obtained from any profiles.
    			for _, fwk := range scheduler.Profiles {
    				actualPodNamesInWaitingPods := sets.NewString()
    				fwk.IterateOverWaitingPods(func(pod framework.WaitingPod) {
    					actualPodNamesInWaitingPods.Insert(pod.GetPod().Name)
    				})
    				// Validate the name of pods in waitingPods matches expectations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  2. pkg/scheduler/scheduler.go

    	snapshot := internalcache.NewEmptySnapshot()
    	metricsRecorder := metrics.NewMetricsAsyncRecorder(1000, time.Second, stopEverything)
    	// waitingPods holds all the pods that are in the scheduler and waiting in the permit stage
    	waitingPods := frameworkruntime.NewWaitingPodsMap()
    
    	profiles, err := profile.NewMap(ctx, options.profiles, registry, recorderFactory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/interface.go

    	SnapshotSharedLister() SharedLister
    
    	// IterateOverWaitingPods acquires a read lock and iterates over the WaitingPods map.
    	IterateOverWaitingPods(callback func(WaitingPod))
    
    	// GetWaitingPod returns a waiting pod given its UID.
    	GetWaitingPod(uid types.UID) WaitingPod
    
    	// RejectWaitingPod rejects a waiting pod given its UID.
    	// The return value indicates if the pod is waiting or not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption.go

    		victim := c.Victims().Pods[index]
    		// If the victim is a WaitingPod, send a reject message to the PermitPlugin.
    		// Otherwise we should delete the victim.
    		if waitingPod := fh.GetWaitingPod(victim.UID); waitingPod != nil {
    			waitingPod.Reject(pluginName, "preempted")
    			logger.V(2).Info("Preemptor pod rejected a waiting pod", "preemptor", klog.KObj(pod), "waitingPod", klog.KObj(victim), "node", c.Name())
    		} else {
    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