<p>I am trying to delete persistent volumes on a Kubernetes cluster. I ran the following command:</p>

<pre><code>kubectl delete pv pvc-08e65270-b7ce-11e9-ba0b-0a1e280502e2 pvc-08e87826-b7ce-11e9-ba0b-0a1e280502e2 pvc-08ea5f97-b7ce-11e9-ba0b-0a1e280502e2 pvc-08ec1cac-b7ce-11e9-ba0b-0a1e280502e2
</code></pre>

<p>However it showed:</p>

<pre><code>persistentvolume "pvc-08e65270-b7ce-11e9-ba0b-0a1e280502e2" deleted
persistentvolume "pvc-08e87826-b7ce-11e9-ba0b-0a1e280502e2" deleted
persistentvolume "pvc-08ea5f97-b7ce-11e9-ba0b-0a1e280502e2" deleted
persistentvolume "pvc-08ec1cac-b7ce-11e9-ba0b-0a1e280502e2" deleted
</code></pre>

<p>But the command did not exit. So I <code>CONTROL+C</code> to force exit the command. After a few minutes, I ran:</p>

<pre><code>kubectl get pv
</code></pre>

<p>And the status is <code>Terminating</code>, but the volumes don't appear to be deleting.</p>

<p>How can I delete these persistent volumes?</p>

<p>It is not recommended to delete pv it should be handled by cloud provisioner. If you need to remove pv just delete pod bounded to claim and then pvc. After that cloud provisioner should also remove pv as well.</p>

<pre><code>kubectl delete pvc --all 
</code></pre>

<p>It sometimes could take some time so be patient.</p>
