Diagnose deployment failure
diagnose_deploymentDiagnose failed Kubernetes deployments by gathering pod states, container statuses, services, and warning events to identify the root cause and provide a suggested fix.
Instructions
Gather pods, container states, Services and warning events, and return a diagnosis: what is wrong, the evidence, the likely cause and a suggested fix. Recognises CrashLoopBackOff, ImagePullBackOff, Pending, OOMKilled, CreateContainerConfigError, failing probes, Services without endpoints and PVC problems. Call this whenever verify_deployment reports healthy=false.
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": "diagnose_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| healthy | Yes | ||
| summary | No | ||
| findings | No | ||
| namespace | Yes | ||
| recent_events | No |