package
1.13.0-alpha.0
Repository: https://github.com/akihirosuda/kubernetes.git
Documentation: pkg.go.dev
# Functions
EmptyPredicateMetadataProducer returns a no-op MetadataProducer type.
EmptyPriorityMetadataProducer returns a no-op PriorityMetadataProducer type.
# Constants
DeprecatedTaintNodeNotReady is the deprecated version of TaintNodeNotReady.
DeprecatedTaintNodeUnreachable is the deprecated version of TaintNodeUnreachable.
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
NodeFieldSelectorKeys is a map that: the key are node field selector keys; the values are the functions to get the value of the node field.
# Structs
EmptyControllerLister implements ControllerLister on []v1.ReplicationController returning empty data.
EmptyReplicaSetLister implements ReplicaSetLister on []extensions.ReplicaSet returning empty data.
EmptyStatefulSetLister implements StatefulSetLister on []apps.StatefulSet returning empty data.
PriorityConfig is a config used for a priority function.
# Interfaces
ControllerLister interface represents anything that can produce a list of ReplicationController; the list is consumed by a scheduler.
NodeLister interface represents anything that can list nodes for a scheduler.
PodLister interface represents anything that can list pods for a scheduler.
PredicateFailureReason interface represents the failure reason of a predicate.
PredicateMetadata interface represents anything that can access a predicate metadata.
ReplicaSetLister interface represents anything that can produce a list of ReplicaSet; the list is consumed by a scheduler.
ScheduleAlgorithm is an interface implemented by things that know how to schedule pods onto machines.
SchedulerExtender is an interface for external processes to influence scheduling decisions made by Kubernetes.
ServiceLister interface represents anything that can produce a list of services; the list is consumed by a scheduler.
StatefulSetLister interface represents anything that can produce a list of StatefulSet; the list is consumed by a scheduler.
# Type aliases
FitPredicate is a function that indicates if a pod fits into an existing node.
PredicateMetadataProducer is a function that computes predicate metadata for a given pod.
PriorityFunction is a function that computes scores for all nodes.
PriorityMapFunction is a function that computes per-node results for a given node.
PriorityMetadataProducer is a function that computes metadata for a given pod.
PriorityReduceFunction is a function that aggregated per-node results and computes final scores for all nodes.