Affinity Patch
data class AffinityPatch(val nodeAffinity: NodeAffinityPatch? = null, val podAffinity: PodAffinityPatch? = null, val podAntiAffinity: PodAntiAffinityPatch? = null)
Affinity is a group of affinity scheduling rules.
Constructors
Link copied to clipboard
constructor(nodeAffinity: NodeAffinityPatch? = null, podAffinity: PodAffinityPatch? = null, podAntiAffinity: PodAntiAffinityPatch? = null)
Properties
Link copied to clipboard
Describes node affinity scheduling rules for the pod.
Link copied to clipboard
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
Link copied to clipboard
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).