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.
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 |