Kubernetes Deployment Troubleshooter
A Kubernetes troubleshooting guide that walks through diagnostic steps and common deployment issues.
devopskubernetesdockertroubleshooting
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.
Related prompts
Cloud Architecture Decision Guide
Cloud architecture decision guide with service selection, networking, reliability, and cost optimization.
Docker and Container Best PracticesDocker best practices with multi-stage builds, security hardening, compose setup, and performance optimization.
CI/CD Pipeline DesignerCI/CD pipeline design with stage definitions, YAML configs, branch strategy, and caching optimization.