nomaxresourcecount

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrReasonInvalidArg    = "invalid arguments"
	ErrReasonUnschedulable = "pod increases total # of pods beyond partition count"
)

Name of the plugin

Variables

This section is empty.

Functions

This section is empty.

Types

type NoMaxResourceCount

type NoMaxResourceCount struct {
}

NoMaxResourceCount plugin filters pods that cause total pods with placements to exceed total partitioncount.

func (*NoMaxResourceCount) Filter

func (pl *NoMaxResourceCount) Filter(ctx context.Context, args interface{}, states *state.State, key types.NamespacedName, podID int32) *state.Status

Filter invoked at the filter extension point.

func (*NoMaxResourceCount) Name

func (pl *NoMaxResourceCount) Name() string

Name returns name of the plugin

Jump to

Keyboard shortcuts

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