loadaware

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinResourcePercentage = 0
	MaxResourcePercentage = 100
)
View Source
const (
	LowNodeLoadName = "LowNodeLoad"
)

Variables

This section is empty.

Functions

func NewLowNodeLoad

func NewLowNodeLoad(args runtime.Object, handle framework.Handle) (framework.Plugin, error)

NewLowNodeLoad builds plugin from its arguments while passing a handle

Types

type LowNodeLoad

type LowNodeLoad struct {
	// contains filtered or unexported fields
}

LowNodeLoad evicts pods from overutilized nodes to underutilized nodes. Note that the plugin refers to the actual usage of the node.

func (*LowNodeLoad) Balance

func (pl *LowNodeLoad) Balance(ctx context.Context, nodes []*corev1.Node) *framework.Status

Balance extension point implementation for the plugin

func (*LowNodeLoad) Name

func (pl *LowNodeLoad) Name() string

Name retrieves the plugin name

type NodeInfo

type NodeInfo struct {
	*NodeUsage
	// contains filtered or unexported fields
}

type NodeThresholds

type NodeThresholds struct {
	// contains filtered or unexported fields
}

type NodeUsage

type NodeUsage struct {
	// contains filtered or unexported fields
}

type Percentage

type Percentage = deschedulerconfig.Percentage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL