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

Re: pod won't terminate



Hi

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
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

 

-- 
Mvh Lars Milland

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