package
1.14.0-alpha.0
Repository: https://github.com/everpeace/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package v1 contains scheduler API objects.
No description provided by the author

# Constants

DefaultPercentageOfNodesToScore defines the percentage of nodes of all nodes that once found feasible, the scheduler stops looking for more nodes.
DeprecatedTaintNodeNotReady is the deprecated version of TaintNodeNotReady.
DeprecatedTaintNodeUnreachable is the deprecated version of TaintNodeUnreachable.
MaxInt defines the max signed int value.
MaxPriority defines the max priority value.
MaxTotalPriority defines the max total priority value.
MaxUint defines the max unsigned int value.
MaxWeight defines the max weight value.
NodeFieldSelectorKeyNodeName ('metadata.name') uses this as node field selector key when selecting node by node's name.
TaintExternalCloudProvider sets this taint on a node to mark it as unusable, when kubelet is started with the "external" cloud provider, until a controller from the cloud-controller-manager intitializes this node, and then removes the taint.
TaintNodeDiskPressure will be added when node has disk pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough disk.
TaintNodeMemoryPressure will be added when node has memory pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough memory.
TaintNodeNetworkUnavailable will be added when node's network is unavailable and feature-gate for TaintNodesByCondition flag is enabled, and removed when network becomes ready.
TaintNodeNotReady will be added when node is not ready and feature-gate for TaintBasedEvictions flag is enabled, and removed when node becomes ready.
TaintNodeOutOfDisk will be added when node becomes out of disk and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough disk.
TaintNodePIDPressure will be added when node has pid pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough disk.
TaintNodeShutdown when node is shutdown in external cloud provider.
TaintNodeUnreachable will be added when node becomes unreachable (corresponding to NodeReady status ConditionUnknown) and feature-gate for TaintBasedEvictions flag is enabled, and removed when node becomes reachable (NodeReady status ConditionTrue).
TaintNodeUnschedulable will be added when node becomes unschedulable and feature-gate for TaintNodesByCondition flag is enabled, and removed when node becomes scheduable.

# Variables

AddToScheme is used to add stored functions to scheme.
Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered.
SchemeBuilder defines a SchemeBuilder object.
SchemeGroupVersion is group version used to register these objects TODO this should be in the "scheduler" group.

# Structs

ExtenderArgs represents the arguments needed by the extender to filter/prioritize nodes for a pod.
ExtenderBindingArgs represents the arguments to an extender for binding a pod to a node.
ExtenderBindingResult represents the result of binding of a pod to a node from an extender.
ExtenderConfig holds the parameters used to communicate with the extender.
ExtenderFilterResult represents the results of a filter call to an extender.
ExtenderManagedResource describes the arguments of extended resources managed by an extender.
ExtenderPreemptionArgs represents the arguments needed by the extender to preempt pods on nodes.
ExtenderPreemptionResult represents the result returned by preemption phase of extender.
HostPriority represents the priority of scheduling to a particular host, higher priority is better.
LabelPreference holds the parameters that are used to configure the corresponding priority function.
LabelsPresence holds the parameters that are used to configure the corresponding predicate in scheduler policy configuration.
MetaPod represent identifier for a v1.Pod.
MetaVictims represents: pods: a group of pods expected to be preempted.
Policy describes a struct of a policy resource in api.
PredicateArgument represents the arguments to configure predicate functions in scheduler policy configuration.
PredicatePolicy describes a struct of a predicate policy.
PriorityArgument represents the arguments to configure priority functions in scheduler policy configuration.
PriorityPolicy describes a struct of a priority policy.
RequestedToCapacityRatioArguments holds arguments specific to RequestedToCapacityRatio priority function.
ServiceAffinity holds the parameters that are used to configure the corresponding predicate in scheduler policy configuration.
ServiceAntiAffinity holds the parameters that are used to configure the corresponding priority function.
UtilizationShapePoint represents single point of priority function shape.
Victims represents: pods: a group of pods expected to be preempted.

# Type aliases

FailedNodesMap represents the filtered out nodes, with node names and failure messages.
HostPriorityList declares a []HostPriority type.