Unable to delete PVCs with finalizer "kubernetes.io/pvc-protection"

Solution Verified - Updated -

Issue

  • When protecting a PVC with the finalizer kubernetes.oi/pvc-protection it should prevent the removal of the PVC as long as it is connected to a POD.
  • When it is not connected to a pod, the PVC may be removed.
  • After a deletion attempt, the PVC is stuck in Terminating state

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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