FreeKB - OpenShift Resolve "ContainerCreating"
OpenShift - Resolve "ContainerCreating"

The oc get pods command can be used to view the status of a pod. In this example, the status of mypod002 is ContainerCreating for 2 minutes.

oc get pods
. . .
NAME        READY   STATUS            RESTARTS  AGE
mypod001    1/1     Running           0         8d
mypod002    1/1     ContainerCreating 0         2m
mypod003    1/1     Running           0         8d

 

The oc get events and oc logs commands can be used. You may want to use the -p or --previous flag with the oc logs command to see the previous logs.

oc logs --previous pod/mypod002

 

Following are things you can try to resolve a pod stuck in ContainerCreating.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter a9caa in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |