{
  "slug": "kubectl-explain-recursive-accepts-max-depth-b08a519ce489",
  "title": "kubectl explain --recursive accepts --max-depth",
  "tools": [
    "kubectl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-26T16:29:12.000Z",
  "announced_at": "2026-08-26T16:29:12.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to inspect a resource schema recursively but limit nested fields, run `kubectl explain <resource> --recursive --max-depth=<depth>`.",
    "examples": [
      "kubectl explain pods --recursive --max-depth=2"
    ],
    "gotchas": [
      "Version: v1.37.0",
      "<resource> (required): Resource type to explain; use `kubectl api-resources` to list supported resources.",
      "--recursive (required): Print fields of fields. Required when `--max-depth` is greater than 0.",
      "--max-depth (required): Maximum recursion depth when printing nested fields with `--recursive`; 0 means no limit."
    ]
  },
  "why_it_matters": "Limit nested fields while inspecting an API resource's schema recursively.",
  "sources": [
    "https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.37.md#v1370",
    "https://kubernetes.io/docs/reference/kubectl/generated/kubectl_explain/"
  ],
  "rank": 0.93028,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-dde1a63ed27f7ad6-4:gate",
    "evidence_hash": "70f587a09691e70ffc51f32f877594112378edd48402e79db1efc303f802eabf"
  },
  "review": {
    "draft_hash": "ebf1e1c2313c681f65f2865836fc1c77a9041411f86fb9806c2086d31d3dd064",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
