<p>i try delete pvc but i cant</p>

<pre><code>kubectl get --all-namespaces pvc

NAMESPACE      NAME            STATUS        VOLUME         CAPACITY   ACCESS MODES   STORAGECLASS   AGE
test-logging   es-local-pvc1   Terminating   es-local-pv1   450Gi      RWO                           21d
</code></pre>

Jokky
<p>kubectl delete pvc es-local-pvc1</p>

<p>if you see any problem, most likely that the pvc is protected from deletion. </p>

<pre><code>  finalizers:
  - kubernetes.io/pvc-protection
</code></pre>

<p>you need to edit the pvc and verify that finalizers under metadata is set to null using the below patch.</p>

<pre><code>kubectl patch pvc &lt;pvc-name&gt; -p '{"metadata":{"finalizers":null}}'
</code></pre>

<p>Then you should be able to delete the pvc</p>
