{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iinventedlight.com/library/artifacts/kubernetes-inter-pod-affinity.schema.json",
  "title": "kubernetes-inter-pod-affinity (summary schema)",
  "description": "Coverage draft, 23 November 2026, America/Los_Angeles. Not published. Draft note; iil_id is null until live.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "slug": {
      "const": "kubernetes-inter-pod-affinity"
    },
    "iil_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "note_url": {
      "type": "string",
      "format": "uri",
      "description": "https://iinventedlight.com/library/notes/kubernetes-inter-pod-affinity/"
    },
    "claim": {
      "type": "string",
      "description": "Inter-pod affinity and anti-affinity constrain Pods against labels on other Pods."
    },
    "license": {
      "type": "string"
    },
    "source_license": {
      "type": "string"
    },
    "as_of": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "claims": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "claim": {
            "type": "string"
          },
          "source_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "claim"
        ]
      }
    },
    "related_slugs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "related_artifacts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "slug",
    "iil_id",
    "claim",
    "license",
    "as_of"
  ],
  "examples": [
    {
      "slug": "kubernetes-inter-pod-affinity",
      "iil_id": null,
      "note_url": "https://iinventedlight.com/library/notes/kubernetes-inter-pod-affinity/",
      "claim": "Inter-pod affinity and anti-affinity constrain Pods against labels on other Pods.",
      "claims": [
        {
          "id": "C1",
          "claim": "Inter-pod affinity and anti-affinity constrain Pods against labels on other Pods.",
          "source_id": "S1"
        },
        {
          "id": "C2",
          "claim": "nodeSelector only selects nodes with all the specified labels.",
          "source_id": "S1"
        },
        {
          "id": "C3",
          "claim": "preferredDuringSchedulingIgnoredDuringExecution means the scheduler tries to find a node that meets the rule.",
          "source_id": "S2"
        },
        {
          "id": "C4",
          "claim": "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"
      ],
      "related_artifacts": [
        "kubernetes-inter-pod-affinity.table.json"
      ],
      "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"
    }
  ]
}
