package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package profile holds the definition of a scheduling Profile.

# Functions

AdmissionCheck calls the filtering logic of noderesources/nodeport/nodeAffinity/nodename and returns the failure reasons.
New returns a Scheduler.
NewHTTPExtender creates an HTTPExtender object.
NewInformerFactory creates a SharedInformerFactory and initializes a scheduler specific in-place podInformer.
WithBuildFrameworkCapturer sets a notify function for getting buildFramework details.
WithComponentConfigVersion sets the component config version to the KubeSchedulerConfiguration version used.
WithExtenders sets extenders for the Scheduler.
WithFrameworkOutOfTreeRegistry sets the registry for out-of-tree plugins.
WithKubeConfig sets the kube config for Scheduler.
WithParallelism sets the parallelism for all scheduler algorithms.
WithPercentageOfNodesToScore sets percentageOfNodesToScore for Scheduler.
WithPodInitialBackoffSeconds sets podInitialBackoffSeconds for Scheduler, the default value is 1.
WithPodMaxBackoffSeconds sets podMaxBackoffSeconds for Scheduler, the default value is 10.
WithPodMaxInUnschedulablePodsDuration sets podMaxInUnschedulablePodsDuration for PriorityQueue.
WithProfiles sets profiles for Scheduler.

# Constants

DefaultExtenderTimeout defines the default extender timeout in second.

# Variables

ErrNoNodesAvailable is used to describe the error that no nodes available to schedule pods.

# Structs

AdmissionResult describes the reason why Scheduler can't admit the pod.
HTTPExtender implements the Extender interface.
Scheduler watches for new unscheduled pods.
ScheduleResult represents the result of scheduling a pod.

# Type aliases

FrameworkCapturer is used for registering a notify function in building framework.
Option configures a Scheduler.