enter image description here
kubectl run onfail1 –image=alpine –restart=OnFailure — exit 0.
finally, this pod status=CrashLoopBackOff.
i think should be completed, because exit code = 0, so this pod not restart.
why? this status should be completed. could you tell me why?