package
1.10.0-alpha.1
Repository: https://github.com/awly/kubernetes.git
Documentation: pkg.go.dev

# Functions

AddUnsetLabelsToMap backfills missing values with values we find in a map.
CheckNodeConditionPredicate checks if a pod can be scheduled on a node reporting out of disk, network unavailable and not ready condition.
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.
No description provided by the author
No description provided by the author
GetResourceRequest returns a *schedulercache.Resource that covers the largest width in each resource dimension.
NewEquivalencePodGenerator returns a getEquivalencePod method with consideration of PVC info.
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
NewVolumeBindingPredicate evaluates if a pod can fit due to the volumes it requests, for both bound and unbound PVCs.
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 tolerations can tolerate the node's NoExecute taints.
PodToleratesNodeTaints checks if a pod tolerations can tolerate the node taints.
No description provided by the author

# Constants

for AzureDiskVolumeFilter.
No description provided by the author
DefaultMaxAzureDiskVolumes defines the maximum number of PD Volumes for Azure Larger Azure VMs can actually have much more disks attached.
DefaultMaxGCEPDVolumes defines the maximum number of PD Volumes for GCE GCE instances can have up to 16 PD volumes attached.
for EBSVolumeFilter.
for GCEPDVolumeFilter.
KubeMaxPDVols defines the maximum number of PD Volumes per kubelet.
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.
NOTE: If you add a new predicate failure error for a predicate that can never be made to pass by removing pods, or you change an existing predicate so that it can never be made to pass by removing pods, you need to add the predicate failure error in nodesWherePreemptionMightHelp() in scheduler/core/generic_scheduler.go.
No description provided by the author
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
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.
CachedStorageClassInfo implements StorageClassInfo.
EquivalencePod is a group of pod attributes which can be reused as equivalence to schedule other pods.
EquivalencePodGenerator is a generator of equivalence class for pod with consideration of PVC info.
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
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

# Interfaces

NodeInfo: Other types for predicate functions...
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

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
PredicateMetadataProducer: Helper types/variables...