package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

NewBalancedAllocation initializes a new plugin and returns it.
NewFit initializes a new plugin and returns it.
NewLeastAllocated initializes a new plugin and returns it.
NewMostAllocated initializes a new plugin and returns it.

# Constants

BalancedAllocationName is the name of the plugin used in the plugin registry and configurations.
FitName is the name of the plugin used in the plugin registry and configurations.
LeastAllocatedName is the name of the plugin used in the plugin registry and configurations.
MostAllocatedName is the name of the plugin used in the plugin registry and configurations.

# Structs

BalancedAllocation is a score plugin that calculates the difference between the cpu and memory fraction of capacity, and prioritizes the host based on how close the two metrics are to each other.
Fit is a plugin that checks if a node has sufficient resources.
LeastAllocated is a score plugin that favors nodes with fewer allocation requested resources based on requested resources.
MostAllocated is a score plugin that favors nodes with high allocation based on requested resources.