kubernetesk8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable Index | Files

package nodeunschedulable

import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable"

Index

Constants

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"
)
const Name = names.NodeUnschedulable

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

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

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.

Source Files

node_unschedulable.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
3 hours ago

Tools for package owners.