pod_health_rca
Scan Kubernetes pods for CrashLoopBackOff, OOMKilled, image-pull failures, and high restarts, returning prioritized issues with 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pod_health_rca"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| namespace | No | ||
| label_selector | No |