nodeunschedulable

package
v1.32.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

View Source
const (
	// ErrReasonUnknownCondition is used for NodeUnknownCondition predicate error.
	ErrReasonUnknownCondition = "node(s) had unknown conditions"
	// ErrReasonUnschedulable is used for NodeUnschedulable predicate error.
	ErrReasonUnschedulable = "node(s) were unschedulable"
)

Name is the name of the plugin used in the plugin registry and configurations.

Variables

This section is empty.

Functions

func New

New initializes a new plugin and returns it.

Types

type NodeUnschedulable

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

NodeUnschedulable plugin filters nodes that set node.Spec.Unschedulable=true unless the pod tolerates {key=node.kubernetes.io/unschedulable, effect:NoSchedule} taint.

func (*NodeUnschedulable) EventsToRegister added in v1.22.0

EventsToRegister returns the possible events that may make a Pod failed by this plugin schedulable.

func (*NodeUnschedulable) Filter

Filter invoked at the filter extension point.

func (*NodeUnschedulable) Name

func (pl *NodeUnschedulable) Name() string

Name returns name of the plugin. It is used in logs, etc.

Jump to

Keyboard shortcuts

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