My question is highly related to Back-off restarting failed container - Error syncing pod in Minikube. I came across the same issue. My question is:
Why does "Competed" container result in "CrashLoopBackOff" pod? Per https://sysdig.com/blog/debug-kubernetes-crashloopbackoff/, "CrashLoopBackOff" means "you have a pod starting, crashing, starting again, and then crashing again." But my pod is not crashing at all because the container in it exits without any error. The "starting again" is expected because the default restart policy is Always.
Succeededonce the container isCompleted. But the Pod still shows "CrashLoopBackOff", and then becomes "Running" because of the container restart policy. So the Pod status is likeRunning-->CrashLoopBackOff-->Running-->CrashLoopBackOff-->...– lotterier Sep 27 '19 at 18:23