OpenShift · Schema
PodSpec
Specification of the desired behavior of a pod.
CI/CDCloud-NativeContainersDevOpsEnterpriseKubernetesPlatform-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| containers | array | List of containers in the pod. |
| initContainers | array | List of initialization containers. |
| restartPolicy | string | |
| serviceAccountName | string | Name of the ServiceAccount to use for the pod. |
| nodeSelector | object | |
| volumes | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PodSpec",
"title": "PodSpec",
"type": "object",
"description": "Specification of the desired behavior of a pod.",
"properties": {
"containers": {
"type": "array",
"description": "List of containers in the pod.",
"items": {
"$ref": "#/components/schemas/Container"
},
"example": []
},
"initContainers": {
"type": "array",
"description": "List of initialization containers.",
"items": {
"$ref": "#/components/schemas/Container"
},
"example": []
},
"restartPolicy": {
"type": "string",
"enum": [
"Always",
"OnFailure",
"Never"
],
"default": "Always",
"example": "Always"
},
"serviceAccountName": {
"type": "string",
"description": "Name of the ServiceAccount to use for the pod.",
"example": "example_value"
},
"nodeSelector": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"example": "example_value"
},
"volumes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"configMap": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"secret": {
"type": "object",
"properties": {
"secretName": {
"type": "string"
}
}
},
"persistentVolumeClaim": {
"type": "object",
"properties": {
"claimName": {
"type": "string"
}
}
},
"emptyDir": {
"type": "object"
}
}
},
"example": []
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/openshift-podspec"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.