# Functions
No description provided by the author
nolint:gocyclo.
HasPreferredNodeAffinity returns true if the pod has a preferred node affinity term.
No description provided by the author
NewLabelRequirements constructs requirements from labels.
NewRequirements constructs requirements from NodeSelectorRequirements.
NewRequirements constructs requirements from NodeSelectorRequirementWithMinValues.
NewPodRequirements constructs requirements from a pod and treats any preferred requirements as required.
No description provided by the author
No description provided by the author
NewRequirementWithFlexibility constructs new requirement from the combination of key, values, minValues and the operator that connects the keys and values.
NewStrictPodRequirements constructs requirements from a pod and only includes true requirements (not preferences).
No description provided by the author
# Variables
No description provided by the author
KnownEphemeralTaints are taints that are expected to be added to a node while it's initializing If the node is a Karpenter-managed node, we don't consider these taints while the node is uninitialized since we expect these taints to eventually be removed.
# Structs
No description provided by the author
+k8s:deepcopy-gen=true.
HostPortUsage tracks HostPort usage within a node.
Requirement is an efficient represenatation of v1.NodeSelectorRequirement.
VolumeUsage tracks volume limits on a per node basis.
# Type aliases
Requirements are an efficient set representation under the hood.
Taints is a decorated alias type for []v1.Taint.
+k8s:deepcopy-gen=true.