linux – Need Help resolving Init:CrashLoopBackOff status error
For one of the pods in a Kubernetes cluster, I’m getting the status Init:CrashLoopBackOff whenever I run kubectl get pods -n <name-space>. I ran all the basic commands to try and diagnose the problem but not too sure what to make of it.
I ran the command: kubectl logs -n <name-space> <pod name>
Error from server (BadRequest): container "hub" in pod "<pod name>" is waiting to start: PodInitializing
I ran the command: kubectl logs -n <name-space> <pod name> --previous
Error from server (BadRequest): previous terminated container "hub" in pod "<pod name>" not found
Last command I ran was: kubectl describe pod
Read more here: Source link
