kubernetes: k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration Index | Files

package tainttoleration

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

Index

Package Files

taint_toleration.go

Constants

const Name = "TaintToleration"

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

func New Uses

func New(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error)

New initializes a new plugin and returns it.

type TaintToleration Uses

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

TaintToleration is a plugin that checks if a pod tolerates a node's taints.

func (*TaintToleration) Filter Uses

func (pl *TaintToleration) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status

Filter invoked at the filter extension point.

func (*TaintToleration) Name Uses

func (pl *TaintToleration) Name() string

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

func (*TaintToleration) NormalizeScore Uses

func (pl *TaintToleration) NormalizeScore(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, scores framework.NodeScoreList) *framework.Status

NormalizeScore invoked after scoring all nodes.

func (*TaintToleration) Score Uses

func (pl *TaintToleration) Score(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (int64, *framework.Status)

Score invoked at the Score extension point.

func (*TaintToleration) ScoreExtensions Uses

func (pl *TaintToleration) ScoreExtensions() framework.ScoreExtensions

ScoreExtensions of the Score plugin.

Package tainttoleration imports 9 packages (graph) and is imported by 1 packages. Updated 2019-11-14. Refresh now. Tools for package owners.