Options
All
  • Public
  • Public/Protected
  • All
Menu

Affinity is a group of affinity scheduling rules.

schema

io.k8s.api.core.v1.Affinity

Hierarchy

  • Affinity

Index

Properties

Optional Readonly nodeAffinity

nodeAffinity: NodeAffinity

Describes node affinity scheduling rules for the pod.

schema

io.k8s.api.core.v1.Affinity#nodeAffinity

Optional Readonly podAffinity

podAffinity: PodAffinity

Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).

schema

io.k8s.api.core.v1.Affinity#podAffinity

Optional Readonly podAntiAffinity

podAntiAffinity: PodAntiAffinity

Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).

schema

io.k8s.api.core.v1.Affinity#podAntiAffinity

Generated using TypeDoc