descheduler

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 33 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPolicyConfig

func LoadPolicyConfig(policyConfigFile string) (*api.DeschedulerPolicy, error)

func NewLeaderElection added in v0.24.0

func NewLeaderElection(
	run func() error,
	client clientset.Interface,
	LeaderElectionConfig *componentbaseconfig.LeaderElectionConfiguration,
	ctx context.Context,
) error

NewLeaderElection starts the leader election code loop

func Run

func RunDeschedulerStrategies added in v0.10.0

func RunDeschedulerStrategies(ctx context.Context, rs *options.DeschedulerServer, deschedulerPolicy *api.DeschedulerPolicy, evictionPolicyGroupVersion string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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