Destroying Unknown Status Pod in OpenShift
Here’s a quick tip to remove an OpenShift pod with “Unknown” status. Suppose this is the output when I run oc get pods: ~ ❯❯❯ oc get pods NAME READY STATUS RESTARTS AGE dothe-4-bjq8v 0/1 ContainerCreating 0 5h dothe-4-ghttj 1/1 Unknown 0 15h ~ ❯❯❯ oc delete pod dothe-4-ghttj pod "dothe-4-ghttj" deleted ~ ❯❯❯ oc get pods NAME READY STATUS RESTARTS AGE dothe-4-bjq8v 0/1 ContainerCreating 0 5h dothe-4-ghttj 1/1 Unknown 0 15h Let’s try deleting the bad pod again with --force option:...