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.
Click to show internal directories.
Click to hide internal directories.