Unable to Delete Pods After Project or Namespace is Deleted

Solution Unverified - Updated -


  • Pods are not deleting despite non-existent namespace
  • Pods stuck terminating after project deleted

    # oc get pods --all-namespaces | grep Terminating
    example                  default-deployment-1-a3hc6               0/1       Terminating           0          4d
    example                  default-deployment-1-w54hy               1/1       Terminating           0          4d
    # oc delete pod default-deployment-1-w54hy -n example
    Error from server: namespaces "example" not found
    # oc get projects | grep example


  • Red Hat OpenShift Container Platform (OCP)
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content