Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flushUnschedulablePodsLeftover (0.79 sec)

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

    				c.SetTime(timestamp.Add(DefaultPodMaxInUnschedulablePodsDuration + 1))
    				queue.flushUnschedulablePodsLeftover(logger)
    			},
    			wantAttempts:         2,
    			wantInitialAttemptTs: timestamp,
    		},
    		{
    			// The queue operations are Add -> Pop -> AddUnschedulableIfNotPresent -> flushUnschedulablePodsLeftover -> Update -> Pop.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    			activated = true
    		}
    	}
    
    	if activated {
    		p.cond.Broadcast()
    	}
    }
    
    // flushUnschedulablePodsLeftover moves pods which stay in unschedulablePods
    // longer than podMaxInUnschedulablePodsDuration to backoffQ or activeQ.
    func (p *PriorityQueue) flushUnschedulablePodsLeftover(logger klog.Logger) {
    	p.lock.Lock()
    	defer p.lock.Unlock()
    
    	var podsToMove []*framework.QueuedPodInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top