How to delete pods hanging in Terminating state

Solution Verified - Updated -

Issue

  • PODs hanging in Terminating state.
  • How can we analyze why the PODs are hanging in Terminating state?
  • How do I kill pods in a terminated state?
  • After a new deployment, several pods from the old deployment are stuck in pending or terminating state. Pods cannot be deleted using oc delete pod <pod-name>.

Environment

  • OpenShift Container Platform 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In