Unable to Delete Pods After Project or Namespace is Deleted

Solution Unverified - Updated -

Issue

  • 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
    #
    

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 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