Inspect Pod Details and 12-Step Status
get_pod_detailsInspect a single Kubernetes pod's container states, probes, restart reasons, pipeline status, matching services, and recent logs to diagnose crashes or unready state.
Instructions
Inspect a single pod in depth, including container states, probe configs, restart reasons, 12-Step pipeline status, matching services, and a 150-line log tail.
Returns cluster_id, pod metadata (name, namespace, phase, node_name, pod_ip, labels), containers (probes, requests/limits, termination/waiting reasons), conditions, pipeline_steps, matching_services, and recent_logs for the primary container.
Use as the primary diagnostic call for one failing, crashing, or unready pod. Prefer get_pod_logs to fetch longer log tails (up to 5000 lines) or logs from a non-primary/sidecar container, or get_manifest for the exact raw pod YAML.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"namespace": "<namespace>",
"pod_name": "<pod_name>"
},
"name": "get_pod_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_name | Yes | Exact Kubernetes pod name inside `namespace` (1-253 chars, e.g. 'api-7c9f8b-x9k2p'). Obtain pod names from `get_namespace_resources` or `get_workloads_catalog`. | |
| namespace | Yes | Target Kubernetes namespace name (1-63 chars, e.g. 'default', 'prod'). Use `get_namespaces` to discover available namespaces on the cluster. | |
| cluster_id | Yes | Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pod name. | |
| phase | No | Kubernetes pod phase (Running, Pending, Failed, Succeeded, Unknown). | |
| labels | No | Kubernetes metadata labels attached to the pod. | |
| pod_ip | No | Pod IP address assigned by CNI. | |
| host_ip | No | Host node IP address. | |
| namespace | No | Pod namespace. | |
| node_name | No | Node currently running the pod, or null if unscheduled. | |
| cluster_id | No | Cluster identifier queried. | |
| conditions | No | PodScheduled, Initialized, ContainersReady, and Ready conditions. | |
| containers | No | Per-container state, image, readiness, restarts, last termination/waiting reason, requests/limits, and liveness/readiness/startup probes. | |
| start_time | No | ISO timestamp when kubelet acknowledged the pod. | |
| recent_logs | No | Recent trailing logs (up to 150 lines) from the primary container. | |
| pipeline_steps | No | 12-Step `kubectl apply` lifecycle checklist (Steps 1-8, 9, 10a/b, 10c/d, 11, 12) with passed/failed/pending status. | |
| matching_services | No | Services in the namespace whose label selector matches this pod. |