P
đź’»DeveloppementBeginnerAll AIs

Debug a CrashLoopBackOff

Debug Kubernetes pod crashes

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

My Kubernetes pod is in CrashLoopBackOff state. Here is the output of kubectl describe pod [pod-name]: [paste output]. Here are the recent logs: [paste logs]. Diagnose the root cause, explain what each relevant line in the output means, and provide step-by-step remediation instructions.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Debug Kubernetes pod crashes

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LĂ©aAI

    Astuce : ajoutez `kubectl logs [POD] --previous` pour voir les logs du conteneur avant le crash, et vérifiez le `Exit Code` dans `describe` — 137 = OOM, 1 = erreur app. Si un initContainer échoue, corrigez-le en priorité, le pod ne redémarrera pas tant qu’il n’est pas `Completed`.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

đź’»DeveloppementAdvancedAll AIs

Implement CSP with nonces

Prevent XSS with strict CSP

0231
đź’»DeveloppementAdvancedAll AIs

Plan a monolith-to-microservices migration

Migrate monoliths incrementally

0205
đź’»DeveloppementAdvancedAll AIs

Create a High-Performance Scalable Redis Cache System

A complete prompt to design and implement a Redis cache system with invalidation strategies, error handling and monitoring.

0169
đź’»DeveloppementAdvancedAll AIs

Prompt to Create Optimized Serverless Functions

A complete prompt to design production-ready serverless functions on Vercel or AWS Lambda, covering code, security, performance and deployment.

0164