<p>The stateful set es-data was failing on our test environment and I was asked to delete corresponding PV.</p>

<p>So I deleted the following for es-data:
1) PVC
2) PV
They showed as terminating and was left for the weekend. Upon arriving this morning they still showed as terminating so deleted both PVC and PV forcefully. No joy.
To fix the whole thing I had to delete the stateful set.</p>

<p>Is this correct if you wanted to delete the PV? </p>

<p>You can delete the PV using following two commands:</p>

<pre><code>kubectl delete pv &lt;pv_name&gt; --grace-period=0 --force
</code></pre>

<p>And then deleting the finalizer using:</p>

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