We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15182dc commit c3be8feCopy full SHA for c3be8fe
pkg/scheduler/scheduler.go
@@ -601,6 +601,9 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) {
601
// succeeds, the pod should get counted as a success the next time we try to
602
// schedule it. (hopefully)
603
metrics.PodScheduleFailures.Inc()
604
+ } else if err == core.ErrNoNodesAvailable {
605
+ // No nodes available is counted as unschedulable rather than an error.
606
+ metrics.PodScheduleFailures.Inc()
607
} else {
608
klog.Errorf("error selecting node for pod: %v", err)
609
metrics.PodScheduleErrors.Inc()
0 commit comments