podfitsresources

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrReasonUnschedulable = "pod at full capacity"
)

Name of the plugin

Variables

This section is empty.

Functions

This section is empty.

Types

type PodFitsResources

type PodFitsResources struct {
}

PodFitsResources is a plugin that filters pods that do not have sufficient free capacity for a vreplica to be placed on it

func (*PodFitsResources) Filter

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

Filter invoked at the filter extension point.

func (*PodFitsResources) Name

func (pl *PodFitsResources) 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