check_pod_status
Check Kubernetes pod status for a service to detect deployment issues. Returns replica counts, restart count, and pod phase to identify CrashLoopBackOff and assess service health.
Instructions
Checks the current Kubernetes pod/container status for a service. Returns desired vs ready replica counts, restart count, pod phase (Running, CrashLoopBackOff, etc.). A pod_phase of "CrashLoopBackOff" combined with high restarts is a strong indicator of a bad deploy. Use this alongside get_service_metrics to assess service health during an incident.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Name of the service to check pod status for (e.g., "payment-service"). |