Loading...
Loading...
Kubernetes debugging patterns. Use for pod crashes, CrashLoopBackOff, OOMKilled, ImagePullBackOff, scheduling failures, deployment issues.
npx skill4agent add incidentfox/incidentfox k8s-debugget_pod_eventsget_pod_logs1. list_pods → Get overview of pod health in namespace
2. get_pod_events → Understand WHY pods are in their state
3. get_pod_logs → Only if events don't explain the issue
4. get_pod_resources → For performance/resource issues
5. describe_deployment → Check deployment status and conditionsget_pod_events| Event Reason | Likely Cause | Next Step |
|---|---|---|
| OOMKilled | Memory limit too low or memory leak | Check |
| Error | Application crash | Check |
| BackOff | Repeated failures | Check logs for startup errors |
get_deployment_historyget_pod_eventsget_pod_resourcesget_pod_eventsget_pod_eventsFailedSchedulingUnschedulabledescribe_podget_pod_eventsget_pod_logsget_pod_eventsdescribe_deployment → Check replicas (desired vs ready vs available)
get_deployment_history → Compare current vs previous revision
get_pod_events → For pods in new ReplicaSetget_deployment_history1. get_pod_resources → See allocation vs usage
2. describe_pod → See full container spec
3. get_cloudwatch_metrics/query_datadog_metrics → Historical usage
4. detect_anomalies on historical data → Find when issue started