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 NameDisplay NameDescriptionUnits
microk8s_scheduler_client_http_requestsMicroK8s Scheduler Rest Client Requests TotalNumber of HTTP requests, partitioned by status code, method, and host.
microk8s_scheduler_scheduling_algorithm_duration_countMicroK8s Scheduler Scheduling Algorithm Duration Seconds CountTotal Scheduling algorithm latency.seconds
microk8s_scheduler_scheduling_algorithm_duration_sumMicroK8s Scheduler Scheduling Algorithm Duration Seconds SumScheduling algorithm latency.seconds

Validate

Navigate to Infrastructure > Resources tab to check if your resources are onboarded and the metrics are collected.