{
  "id": "kubernetes-inter-pod-affinity-table",
  "kind": "table",
  "slug": "kubernetes-inter-pod-affinity",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/kubernetes-inter-pod-affinity/",
  "title": "Kubernetes inter-pod affinity constrains Pods using other Pod labels (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "Inter-pod affinity and anti-affinity constrain Pods against labels on other Pods.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "nodeSelector only selects nodes with all the specified labels.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "preferredDuringSchedulingIgnoredDuringExecution means the scheduler tries to find a node that meets the rule.",
      "source_id": "S2"
    },
    {
      "topic": "C4",
      "fact": "Inter-pod affinity is set with the affinity.podAffinity field in the Pod spec.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "kubernetes-node-affinity",
    "kubernetes-taints-tolerations",
    "kubernetes-pods"
  ],
  "license": "CC-BY-4.0",
  "source_license": "CC-BY-4.0 (Kubernetes); CC-BY-4.0 (kubernetes/website); prose restates cited source lines in own words",
  "as_of": "2026-11-23",
  "status": "draft-20261123-cov-01",
  "note": "Restated from the note; check the note sources before relying on a value."
}
