<p>I'm using the PersistentVolume functionality for sharing VM directories with Pods. For example:</p>

<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: psql-data-disk
spec:
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 1Gi
  hostPath:
    path: /data/psqldata
</code></pre>

<p>But I can't figure out how to delete the directory from the host VM so that I can reset the data. Minikube persists the <code>/data/</code> directory across VM reboots, but doesn't document where it's storing it.</p>

<p>If you <code>kubectl delete PersistentVolume psql-data-disk</code> it doesn't delete any of the contents in the directory itself, it just deletes the K8s resource.</p>

<p>I'm using the <code>docker-machine-driver-xhyve</code> driver installed via brew on OSX Sierra.</p>

<p>Ugh, I hadn't known about the <code>minikube ssh</code> command to get into the VM. So I just went in there and deleted the directory.</p>
