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 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.
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
kube_scheduler_binding_duration_seconds | Average Binding Latency | seconds | Average binding latency |
kube_scheduler_binding_latency_microseconds | Average Binding Latency In Micro seconds | microseconds | Average binding latency |
kube_scheduler_cache_lookups | Equiv Cache Lookups Total | Total number of equivalence cache lookups, by whether or not a cache entry was found | |
kube_scheduler_client_http_requests | Client HTTP Requests | Number of HTTP requests, partitioned by status code, method, and host | |
kube_scheduler_http_requests_duration | Rest Client Request Latency Seconds | seconds | Request latency broken down by verb and URL |
kube_scheduler_go_gc_duration_seconds | Average GC Invocation Duration | Average of the GC invocation duration | |
kube_scheduler_go_gc_duration_seconds_quantile | GC Invocation Duration Quantiles | GC invocation duration Quantiles | |
kube_scheduler_goroutines | Go Goroutines | Number of goroutines that currently exist | |
kube_scheduler_process_max_fds | Max Open File Descriptors | Maximum number of open file descriptors | |
kube_scheduler_process_open_fds | Open File Descriptors | Number of open file descriptors | |
kube_scheduler_pod_preemption_victims | Average Selected Preemption Victims | Average number of selected preemption victims | |
kube_scheduler_pod_preemption_attempts | Preemption Attempts Rate | Rate of preemption attempts in the cluster since last pool | |
kube_scheduler_schedule_attempts | Schedule Attempts Rate | Rate of number of attempts to schedule pods, by the result; 'unschedulable' means a pod could not be scheduled, while 'error' means an internal scheduler problem | |
kube_scheduler_scheduling_algorithm_duration_seconds | Average Scheduling Latency | Seconds | Average scheduling algorithm latency |
kube_scheduler_scheduling_algorithm_latency_microseconds | Average Scheduling Latency Micro seconds | microseconds | Average scheduling algorithm latency |
kube_scheduler_scheduling_algorithm_predicate_evaluation_duration | Average Scheduling Algorithm Predicate Evaluation Duration | seconds | Average scheduling algorithm predicate evaluation duration |
kube_scheduler_scheduling_algorithm_preemption_evaluation_duration | Average Scheduling Algorithm Preemption Evaluation Duration | seconds | Average Scheduling algorithm preemption evaluation duration |
kube_scheduler_scheduling_algorithm_priority_evaluation_duration | Average Scheduling Algorithm Priority Evaluation Duration | seconds | Average Scheduling algorithm priority evaluation duration |
kube_scheduler_e2e_scheduling_duration | Average E2e Scheduling Latency | seconds | Average E2e scheduling latency (scheduling algorithm + binding) |
kube_scheduler_scheduling_duration_seconds | Average Scheduling latency Split By Sub-Parts | seconds | Average Scheduling latency split by sub-parts of the scheduling operation |
kube_scheduler_scheduling_duration_quantile | Quantile Scheduling latency Split By Sub-Parts | seconds | Quantile of Scheduling latency split by sub-parts of the scheduling operation |
kube_scheduler_go_threads | OS Threads Count | Number of OS threads created | |
kube_scheduler_volume_scheduling_duration | Average Volume Scheduling Stage Latency | Average volume scheduling stage latency |