API Style Guides · Example Payload

Kubernetes Spec Status

KubernetesConcurrencyCRD

Kubernetes Spec Status is an example object payload from API Style Guides, with 12 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

$schemaidguideleveltitlesummarycategoryrationaleappliesTosourceUrlexamplestags

Example Payload

kubernetes-spec-status.json Raw ↑
{
  "$schema": "../json-schema/style-guide-rule-schema.json",
  "id": "kubernetes-spec-status",
  "guide": "style-guides:kubernetes",
  "level": "MUST",
  "title": "Separate Desired State (spec) From Observed State (status)",
  "summary": "Every Kubernetes-style resource carries a spec subobject (user-supplied desired state) and a status subobject (controller-observed actual state). Clients write to spec; controllers write to status; never the reverse.",
  "category": "Concurrency",
  "rationale": "The spec/status split is the foundation of declarative APIs and the level-triggered reconciliation pattern that gives Kubernetes (and every CRD) its consistency model.",
  "appliesTo": ["REST", "Kubernetes"],
  "sourceUrl": "https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md",
  "examples": [
    {
      "kind": "good",
      "language": "yaml",
      "snippet": "apiVersion: v1\nkind: Pod\nmetadata:\n  name: example\nspec:\n  containers:\n  - name: app\n    image: nginx:1.27\nstatus:\n  phase: Running\n  conditions:\n  - type: Ready\n    status: \"True\""
    }
  ],
  "tags": ["Kubernetes", "Concurrency", "CRD"]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/kubernetes-spec-status"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.