oc_explain
Explain OpenShift/Kubernetes resource schemas and API documentation by specifying resource type, API version, and field path. Get plaintext or JSON output, with recursive field details.
Instructions
Explain OpenShift/Kubernetes resource schemas, fields, and API documentation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Specific field path to explain (e.g., spec.containers, metadata.labels) | |
| output | No | Output format for the explanation | plaintext |
| context | No | OpenShift context to use (optional) | |
| resource | Yes | Resource type to explain (e.g., pod, deployment, service, route.route.openshift.io) | |
| recursive | No | Show all fields recursively | |
| apiVersion | No | Specific API version to explain (e.g., apps/v1, route.openshift.io/v1) |