<p>We don't want to delete PV and PVC as pods reuse them most of the times.
However, in the long term, we end up with many PVs' and PVCs' that are not used.
How to safely clean?</p>

Pav K.
<p>Not very elegant but bash way to delete Released PV's</p>

<pre><code>kubectl get pv | grep Released | awk '$1 {print$1}' | while read vol; do kubectl delete pv/${vol}; done
</code></pre>
