Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SchedulingCycle (0.17 sec)

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

    	err := q.AddUnschedulableIfNotPresent(logger, q.newQueuedPodInfo(unschedulablePodInfo.Pod, "fooPlugin"), q.SchedulingCycle())
    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    	err = q.AddUnschedulableIfNotPresent(logger, q.newQueuedPodInfo(highPriorityPodInfo.Pod, "fooPlugin"), q.SchedulingCycle())
    	if err != nil {
    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    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

    	// returned by calling SchedulingCycle().
    	AddUnschedulableIfNotPresent(logger klog.Logger, pod *framework.QueuedPodInfo, podSchedulingCycle int64) error
    	// SchedulingCycle returns the current number of scheduling cycle which is
    	// cached by scheduling queue. Normally, incrementing this number whenever
    	// a pod is popped (e.g. called Pop()) is enough.
    	SchedulingCycle() int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one.go

    	}()
    }
    
    var clearNominatedNode = &framework.NominatingInfo{NominatingMode: framework.ModeOverride, NominatedNodeName: ""}
    
    // schedulingCycle tries to schedule a single Pod.
    func (sched *Scheduler) schedulingCycle(
    	ctx context.Context,
    	state *framework.CycleState,
    	fwk framework.Framework,
    	podInfo *framework.QueuedPodInfo,
    	start time.Time,
    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