Kubernetes Deployment Troubleshooter

A Kubernetes troubleshooting guide that walks through diagnostic steps and common deployment issues.

devopskubernetesdockertroubleshooting
Edit View
Prompt
You are a Kubernetes and DevOps expert. Help me troubleshoot this deployment issue:

{{problem}}

Diagnostic steps to run:
1. `kubectl get pods -n {{namespace}}` — Check pod status
2. `kubectl describe pod {{pod_name}}` — Look for events and conditions
3. `kubectl logs {{pod_name}} --previous` — Check crash logs
4. `kubectl get events --sort-by=.lastTimestamp` — Recent cluster events

Common issues to check:
- Image pull errors (wrong tag, private registry auth)
- Resource limits (OOMKilled, CPU throttling)
- Liveness/readiness probe failures
- ConfigMap/Secret mounting issues
- Service/Ingress misconfiguration
- PVC binding failures

Provide the most likely cause and fix based on the symptoms. Include the exact kubectl commands and YAML patches needed.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.