Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nominatedPodToNode (0.25 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    	// pods which are nominated to run on the node. These are pods which can be in
    	// the activeQ or unschedulablePods.
    	nominatedPods map[string][]*framework.PodInfo
    	// nominatedPodToNode is map keyed by a Pod UID to the node name where it is
    	// nominated.
    	nominatedPodToNode map[types.UID]string
    
    	lock sync.RWMutex
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Errorf("add failed: %v", err)
    	}
    	if err := q.Add(logger, highPriorityPodInfo.Pod); err != nil {
    		t.Errorf("add failed: %v", err)
    	}
    	expectedNominatedPods := &nominator{
    		nominatedPodToNode: map[types.UID]string{
    			medPriorityPodInfo.Pod.UID:   "node1",
    			unschedulablePodInfo.Pod.UID: "node1",
    		},
    		nominatedPods: map[string][]*framework.PodInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top