podscheduler

package
v0.0.0-...-dcfb068 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonNotEligibleToPreemptOthers      string = "pod is not eligible for more preemption"
	ReasonUnresolvableByPreemption        string = "preemption will not help schedule pod on any node"
	ReasonPreemptionCandidatesNotFound    string = "can not find any candidates to preempt"
	ReasonPreemptionBestCandidateNotFound string = "best candidate for preemption not found"
)

Variables

This section is empty.

Functions

func NewPodScheduler

func NewPodScheduler(
	schedulerName string,
	switchType framework.SwitchType,
	subCluster string,
	clientSet clientset.Interface,
	crdClient godelclient.Interface,
	informerFactory informers.SharedInformerFactory,
	crdInformerFactory crdinformers.SharedInformerFactory,
	snapshot *cache.Snapshot,
	clock clock.Clock,
	disablePreemption bool,
	candidateSelectPolicy string,
	betterSelectPolicies []string,
	percentageOfNodesToScore int32,
	increasedPercentageOfNodesToScore int32,
	basePlugins framework.PluginCollectionSet,
	pluginArgs map[string]*schedulerconfig.PluginConfig,
	preemptionPluginArgs map[string]*schedulerconfig.PluginConfig,
) core.PodScheduler

Types

This section is empty.

Jump to

Keyboard shortcuts

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