package
0.0.0-20170824060325-cf23810f2098
Repository: https://github.com/sttts/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddUnsetLabelsToMap backfills missing values with values we find in a map.
CheckNodeDiskPressurePredicate checks if a pod can be scheduled on a node reporting disk pressure condition.
CheckNodeMemoryPressurePredicate checks if a pod can be scheduled on a node reporting memory pressure condition.
CreateSelectorFromLabels is used to define a selector that corresponds to the keys in a map.
EssentialPredicates are the predicates that all pods, including critical pods, need.
FilterPodsByNamespace filters pods outside a namespace from the given list.
FindLabelsInSet gets as many key/value pairs as possible out of a label set.
GeneralPredicates checks whether noncriticalPredicates and EssentialPredicates pass.
GetEquivalencePod returns a EquivalencePod which contains a group of pod attributes which can be reused.
GetResourceRequest returns a *schedulercache.Resource that covers the largest width in each resource dimension.
No description provided by the author
No description provided by the author
NewMaxPDVolumeCountPredicate creates a predicate which evaluates whether a pod can fit based on the number of volumes which match a filter that it requests, and those that are already present.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewVolumeNodePredicate evaluates if a pod can fit due to the volumes it requests, given that some volumes have node topology constraints, particularly when using Local PVs.
NewVolumeZonePredicate evaluates if a pod can fit due to the volumes it requests, given that some volumes may have zone scheduling constraints.
NoDiskConflict evaluates if a pod can fit due to the volumes it requests, and those that are already mounted.
PodFitsHost checks if a pod spec node name matches the current node.
PodFitsHostPorts checks if a node has free ports for the requested pod ports.
PodFitsResources checks if a node has sufficient resources, such as cpu, memory, gpu, opaque int resources etc to run a pod.
PodMatchNodeSelector checks if a pod node selector matches the node label.
PodToleratesNodeNoExecuteTaints checks if a pod tolertaions can tolerate the node's NoExecute taints.
PodToleratesNodeTaints checks if a pod tolertaions can tolerate the node taints.
No description provided by the author
# Variables
AzureDiskVolumeFilter is a VolumeFilter for filtering Azure Disk Volumes.
EBSVolumeFilter is a VolumeFilter for filtering AWS ElasticBlockStore Volumes.
The predicateName tries to be consistent as the predicate name used in DefaultAlgorithmProvider defined in defaults.go (which tend to be stable for backward compatibility).
ErrFakePredicate is used for test only.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GCEPDVolumeFilter is a VolumeFilter for filtering GCE PersistentDisk Volumes.
# Structs
No description provided by the author
CachedPersistentVolumeClaimInfo implements PersistentVolumeClaimInfo.
CachedPersistentVolumeInfo implements PersistentVolumeInfo.
EquivalencePod is a group of pod attributes which can be reused as equivalence to schedule other pods.
No description provided by the author
InsufficientResourceError is an error type that indicates what kind of resource limit is hit and caused the unfitting failure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VolumeFilter contains information on how to filter PD Volumes when checking PD Volume caps.
No description provided by the author
No description provided by the author
# Interfaces
NodeInfo: Other types for predicate functions...
No description provided by the author
No description provided by the author
# Type aliases
PredicateMetadataModifier: Helper types/variables...