The Kubernetes scheduler is a control plane process that assigns Pods to the nodes. The scheduler determines which nodes are valid placements for each Pod in the scheduling queue according to the constraints and available resources. The scheduler then ranks each valid node and binds the Pod to a suitable node. Multiple different schedulers may be used within a cluster. By default, the kube-scheduler runs on port secure 10259 (older version runs on unsecure port 10251) and exposes the metrics of /metrics in openMetric format. The Agent hits the endpoint with the kubernetes client and fetches the metrics automatically. Therefore, no extra configuration or detection logic is required.

Collector Type: Agent

Category: Application Monitors

Application Name: k8s Scheduler

Global Template Name: Kubernetes Scheduler

Validate

Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.

Collected Metrics

Metric NameDisplay NameDescription
scheduler.binding.duration.countKube Scheduler Binding Duration Seconds CountTotal Binding duration in seconds count.
scheduler.binding.duration.secondsscheduler.binding.duration.secondsBinding duration in seconds sum.
scheduler.binding.latency.countKube Scheduler Binding Latency Microseconds CountTotal Binding latency in microseconds count.
scheduler.binding.latency.sumKube Scheduler Binding Latency Microseconds SumBinding latency in microseconds sum.
scheduler.cache.lookupsKube Scheduler Equiv Cache Lookups TotalTotal number of equivalence cache lookups, by whether or not a cache entry was found.
scheduler.client.http.requests_duration.countKube Scheduler Rest Client Request Latency Seconds CountTotal request latency in seconds. Broken down by verb and URL.
scheduler.client.http.requests_duration.sumKube Scheduler Rest Client Request Latency Seconds SumRequest latency in seconds sum. Broken down by verb and URL.
scheduler.gc_duration_seconds.countKube Scheduler Go GC Duration Seconds CountA summary of the GC invocation durations.
scheduler.gc_duration_seconds.quantileKube Scheduler Go GC Duration SecondsA summary of the GC invocation durations.
scheduler.gc_duration_seconds.sumKube Scheduler Go GC Duration Seconds SumA summary of the GC invocation durations.
scheduler.go.goroutinesKube Scheduler Go GoroutinesNumber of goroutines that currently exist.
scheduler.process.max_fdsKube Scheduler Process Max FdsMaximum number of open file descriptors.
scheduler.process.open_fdsKube Scheduler Process Open FdsNumber of open file descriptors.
scheduler.pod_preemption.victimsKube Scheduler Pod Preemption VictimsNumber of selected preemption victims.
scheduler.pod_preemption.attemptsKube Scheduler Total Preemption AttemptsTotal preemption attempts in the cluster till now.
scheduler.schedule_attempts.totalKube Scheduler Schedule Attempts TotalNumber of attempts to schedule pods, by the result. 'unschedulable' means a pod could not be scheduled, while 'error' means an internal scheduler problem.
scheduler.scheduling.algorithm_duration.countKube Scheduler Scheduling Algorithm Duration Seconds CountTotal Scheduling algorithm latency in seconds count.
scheduler.scheduling.algorithm_duration.sumKube Scheduler Scheduling Algorithm Duration Seconds SumScheduling algorithm latency in seconds sum.
scheduler.scheduling.algorithm_latency.countKube Scheduler Scheduling Algorithm Latency Microseconds CountTotal Scheduling algorithm latency in microseconds count.
scheduler.scheduling.algorithm_latency.sumKube Scheduler Scheduling Algorithm Latency Microseconds SumScheduling algorithm latency in microseconds sum.
scheduler.scheduling.algorithm.predicate_duration.countKube Scheduler Scheduling Algorithm Predicate Evaluation CountScheduling algorithm predicate evaluation duration.
scheduler.scheduling.algorithm.predicate_duration.sumKube Scheduler Scheduling Algorithm Predicate Evaluation SumScheduling algorithm predicate evaluation duration.
scheduler.scheduling.algorithm.preemption_duration.countKube Scheduler Scheduling Algorithm Preemption Evaluation CountScheduling algorithm preemption evaluation duration.
scheduler.scheduling.algorithm.preemption_duration.sumKube Scheduler Scheduling Algorithm Preemption Evaluation SumScheduling algorithm preemption evaluation duration.
scheduler.scheduling.algorithm.priority_duration.countKube Scheduler Scheduling Algorithm Priority Evaluation CountScheduling algorithm priority evaluation duration.
scheduler.scheduling.algorithm.priority_duration.sumKube Scheduler Scheduling Algorithm Priority Evaluation SumScheduling algorithm priority evaluation duration.
scheduler.e2e.scheduling_duration.countKube Scheduler E2E Scheduling Duration Seconds CountTotal E2e scheduling latency in seconds (scheduling algorithm + binding).
scheduler.e2e.scheduling_duration.sumKube Scheduler E2E Scheduling Duration Seconds SumE2e scheduling latency in seconds (scheduling algorithm + binding).
scheduler.e2e.scheduling_latency.countKube Scheduler E2E Scheduling Latency Microseconds CountTotal E2e scheduling latency in microseconds (scheduling algorithm + binding).
scheduler.e2e.scheduling_latency.sumKube Scheduler E2E Scheduling Latency Microseconds SumE2e scheduling latency in microseconds (scheduling algorithm + binding).
scheduler.scheduling.scheduling_duration.countKube Scheduler Scheduling Duration Seconds CountScheduling latency in seconds split by sub-parts of the scheduling operation.
scheduler.scheduling.scheduling_duration.quantileKube Scheduler Scheduling Duration SecondsScheduling latency in seconds split by sub-parts of the scheduling operation.
scheduler.scheduling.scheduling_duration.sumKube Scheduler Scheduling Duration Seconds SumKube Scheduler Scheduling Duration Seconds Sum.
scheduler.scheduling.scheduling_latency.countKube Scheduler Scheduling Latency Seconds CountScheduling latency in seconds split by sub-parts of the scheduling operation.
scheduler.scheduling.scheduling_latency.quantileKube Scheduler Scheduling Latency SecondsScheduling latency in seconds split by sub-parts of the scheduling operation.
scheduler.scheduling.scheduling_latency.sumKube Scheduler Scheduling Latency Seconds SumScheduling latency in seconds split by sub-parts of the scheduling operation.
scheduler.threadsKube Scheduler OS ThreadsNumber of OS threads created.
scheduler.volume_scheduling_duration.sumKube Scheduler Volume Scheduling Duration Seconds SumVolume scheduling stage latency sum.
scheduler.volume_scheduling_duration.countKube Scheduler Volume Scheduling Duration Seconds CountVolume scheduling stage latency count.
kubernetes