[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: pod won't terminate


Actually I finally managed to delete it. I used the web console to delete the pod (choosing the delete immediately option).

Yes, I know it doesn't make much sense!

On 26/11/2018 17:35, lmi wrote:


One trick that have worked for us is to patch the pod - setting its list of finalizers to nothing:


oc patch pod <podname> -n <namespace> -p '{"metadata":{"finalizers":null}}'


Best regards

Lars Milland


Tim Dudgeon wrote the 2018-11-26 16:14:

I've got a pod that just fails to terminate.

`oc delete --force` does not work.

Killing the container on the node where it was running doesn't work (and the container is not running on that node after this).

Restarting the origin-node service on the node, and the origin-master-api and origin-master-controllers service on the master does not work.

Nothing seems to work. That damn pod seem to be immortal! It just hangs around saying it is in `Terminating` status forever.

How can I kill it!

users mailing list
users lists openshift redhat com


Lars Milland

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]