Affinity
io.k8s.api.core.v1.Affinity
Description
Affinity is a group of affinity scheduling rules.
Properties
-
nodeAffinityNodeAffinity - Describes node affinity scheduling rules for the pod.
-
podAffinityPodAffinity - Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
-
podAntiAffinityPodAntiAffinity - Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).