Kubernetes pod stuck in CrashLoopBackOff
posée 2 months ago137 vuesen
3
My deployment shows CrashLoopBackOff. kubectl logs shows the app starting then stopping. How do I debug liveness/readiness probes and startup timing?
Diagnostic IA
Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.
posée 2 months ago
Jean Pierre 5.1k
Thanks, this helped. Did you also try clearing the cache?
— davidcharles 2 months ago
1 réponse
5
✓✓ Réponse acceptée
CrashLoopBackOff almost always means the container's main process exits. Check kubectl logs --previous. Common causes: readiness probe on a port the app binds late, missing env/secret, or the app needing a writable volume it doesn't have.
Connectez-vous pour dire si ça a marché.
answered 2 months ago
Marie Louis 2.2k
Sign in and verify your email to post an answer.