Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ScheduleOne (0.14 sec)

  1. pkg/scheduler/scheduler.go

    func (sched *Scheduler) Run(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    	sched.SchedulingQueue.Run(logger)
    
    	// We need to start scheduleOne loop in a dedicated goroutine,
    	// because scheduleOne function hangs on getting the next item
    	// from the SchedulingQueue.
    	// If there are no new pods to schedule, it will be hanging there
    	// and if done in this goroutine it will be blocking closing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one.go

    	// to be included in ScheduleResult.
    	numberOfHighestScoredNodesToReport = 3
    )
    
    // ScheduleOne does the entire scheduling workflow for a single pod. It is serialized on the scheduling algorithm's host fitting.
    func (sched *Scheduler) ScheduleOne(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    	podInfo, err := sched.NextPod(logger)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top