package
0.10.0-rc.4-depUpgrades
Repository: https://github.com/datadog/extendeddaemonset.git
Documentation: pkg.go.dev
# Functions
CheckNodeFitness runs a set of predicates that select candidate nodes for the DaemonSet; the predicates include: - PodMatchNodeSelector: checks pod's NodeSelector and NodeAffinity against node - PodToleratesNodeTaints: exclude tainted node unless pod has specific toleration.
MatchNodeSelectorTerms checks whether the node labels and fields match node selector terms in ORed; nil or empty term matches no objects.
NodeSelectorRequirementsAsFieldSelector converts the []NodeSelectorRequirement core type into a struct that implements fields.Selector.
NodeSelectorRequirementsAsSelector converts the []NodeSelectorRequirement api type into a struct that implements labels.Selector.
TolerationsTolerateTaint checks if taint is tolerated by any of the tolerations.
TolerationsTolerateTaintsWithFilter checks if given tolerations tolerates all the taints that apply to the filter in given taint list.