OS
OpenSpec
HUB
Home
/
core.api.k8s.io
/
v1
/
Affinity
Affinity
Affinity is a group of affinity scheduling rules.
Resource Structure
Copy JSON
Interactive Tree
nodeAffinity
object
Describes node affinity scheduling rules for the pod.
podAffinity
object
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
podAntiAffinity
object
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).