Introduction
The Kubernetes scheduler is a workload-specific function which considers individual and collective resource requirements, quality of service requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, deadlines, and so on. Workload-specific requirements will be exposed through the API as necessary.
Starting with release 1.21, daemon-scheduler was consolidated into daemon-kubelite.
The kube-scheduler daemon started using the arguments in ${SNAP_DATA}/args/kube-scheduler. These are explained fully in the upstream kube-scheduler documentation .
Global Template
Collector Type: Agent
Category: Application Monitors
G2 Monitor Name: Agent G2 - Linux - MicroK8s Kubelite
Global Template Name: Agent G2 - Linux - MicroK8s Kubelite
Collected Metrics
Metric Name | Display Name | Description | Units |
---|---|---|---|
microk8s_scheduler_client_http_requests | MicroK8s Scheduler Rest Client Requests Total | Number of HTTP requests, partitioned by status code, method, and host. | |
microk8s_scheduler_scheduling_algorithm_duration_count | MicroK8s Scheduler Scheduling Algorithm Duration Seconds Count | Total Scheduling algorithm latency. | seconds |
microk8s_scheduler_scheduling_algorithm_duration_sum | MicroK8s Scheduler Scheduling Algorithm Duration Seconds Sum | Scheduling algorithm latency. | seconds |
Validate
Navigate to Infrastructure > Resources tab to check if your resources are onboarded and the metrics are collected.