- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnschedulableReason (0.17 sec)
-
pkg/scheduler/metrics/metrics.go
} // SinceInSeconds gets the time since the specified start in seconds. func SinceInSeconds(start time.Time) float64 { return time.Since(start).Seconds() } func UnschedulableReason(plugin string, profile string) metrics.GaugeMetric { return unschedulableReasons.With(metrics.Labels{"plugin": plugin, "profile": profile})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:22:53 UTC 2024 - 11.1K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue.go
s = p.runPreEnqueuePlugin(ctx, pl, pod, shouldRecordMetric) if s.IsSuccess() { continue } pInfo.UnschedulablePlugins.Insert(pl.Name()) metrics.UnschedulableReason(pl.Name(), pod.Spec.SchedulerName).Inc() if s.Code() == framework.Error { logger.Error(s.AsError(), "Unexpected error running PreEnqueue plugin", "pod", klog.KObj(pod), "plugin", pl.Name()) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0)