Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CongestionFactorMax : environment variable to set maximum congestion factor CongestionFactorMax = "CONGESTION_FACTOR_MAX" // DefaultCongestionFactorMax : 100 DefaultCongestionFactorMax = 100 )
*
- Environment variables and their default values
View Source
const (
// CongestionFactorKey : label for measure of node congestion [0 (no congesion) - max]
CongestionFactorKey = "congestion-factor"
)
*
- Key labels
View Source
const (
// PriorityCongestionName : name of congestion priority function
PriorityCongestionName = "congestion"
)
*
- Names of predicates and priority functions
Variables ¶
This section is empty.
Functions ¶
func PriorityFunc ¶
func PriorityFunc(pod v1.Pod, nodes []v1.Node) (*schedulerapi.HostPriorityList, error)
PriorityFunc : priority function based on node congestion factor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.