descheduler

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 56 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginConfig added in v0.27.0

func GetPluginConfig(pluginName string, pluginConfigs []api.PluginConfig) (*api.PluginConfig, int)

func LoadPolicyConfig

func LoadPolicyConfig(policyConfigFile string, client clientset.Interface, registry pluginregistry.Registry) (*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 RegisterDefaultPlugins added in v0.26.0

func RegisterDefaultPlugins(registry pluginregistry.Registry)

func Run

func RunDeschedulerStrategies added in v0.10.0

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

func SetupPlugins added in v0.26.0

func SetupPlugins()

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