Discover Packages
github.com/freckie/shmsched-plugin
pkg
qos
package
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Sep 15, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Overview
This folder holds some sample plugin implementations based on QoS
(Quality of Service) class
of Pods.
Maturity Level
💡 Sample (for demonstrating and inspiring purpose)
👶 Alpha (used in companies for pilot projects)
👦 Beta (used in companies and developed actively)
👨 Stable (used in companies for production workloads)
QOS QueueSort Plugin
Sorts pods by .spec.priority and breaks ties by the quality of service class .
Specifically, this plugin enqueue the Pods with the following order:
Guaranteed (requests == limits)
Burstable (requests < limits)
BestEffort (requests and limits not set)
Expand ▾
Collapse ▴
Documentation
¶
Name is the name of the plugin used in the plugin registry and configurations.
New initializes a new plugin and returns it.
Sort is a plugin that implements QoS class based sorting.
Less is the function used by the activeQ heap algorithm to sort pods.
It sorts pods based on their priorities. When the priorities are equal, it uses
the Pod QoS classes to break the tie.
Name returns name of the plugin.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.