OptionalpreferredpreferredDuringSchedulingIgnoredDuringExecution The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
OptionalrequiredrequiredDuringSchedulingIgnoredDuringExecution
Defines a set of pods (namely those matching the labelSelector
relative to the given namespace(s)) that this pod should be
co-located (affinity) or not co-located (anti-affinity) with,
where co-located is defined as running on a node whose value of
the label with key
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
Export