pod_health_rca
Identify failing Kubernetes pods by scanning for CrashLoopBackOff, image-pull errors, OOMKilled, unschedulable state, and high restart counts, then return worst-first findings with causes and kubectl fixes.
Instructions
[READ] Scan pods for CrashLoopBackOff, image-pull failures, OOMKilled, unschedulable Pending pods, and high restart counts.
Returns worst-first findings, each citing the reason string / restart count that tripped it plus a concrete kubectl action. Omit namespace to scan all.
Args: namespace: Namespace to scope to; omit for all namespaces. label_selector: Optional label selector, e.g. "app=web". target: k8s target name from config; omit to use the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| namespace | No | ||
| label_selector | No |