get_pod_status
Identify why Kubernetes pods are unhealthy by checking container states, crash reasons, restart counts, and unschedulable conditions for a specific pod, service, or entire namespace.
Instructions
Pod phases, container states and waiting/terminated reasons (CrashLoopBackOff, OOMKilled, ImagePullBackOff...), restart counts, exit codes, unschedulable conditions. Give a service, a pod, or neither for the whole namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | No | Exact pod name (alternative to service) | |
| service | No | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |