podlifetime

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const PluginName = "PodLifeTime"

Variables

This section is empty.

Functions

func New

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

New builds plugin from its arguments while passing a handle

Types

type PodLifeTime

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

PodLifeTime evicts pods on the node that violate the max pod lifetime threshold

func (*PodLifeTime) Deschedule

func (d *PodLifeTime) Deschedule(ctx context.Context, nodes []*v1.Node) *framework.Status

Deschedule extension point implementation for the plugin

func (*PodLifeTime) Name

func (d *PodLifeTime) Name() string

Name retrieves the plugin name

Jump to

Keyboard shortcuts

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