<p>I am trying to set up a copy of our app on my development machine using minikube. But I get an error showing up in minikube dashboard: </p>

<pre><code>0/1 nodes are available: 1 Insufficient ephemeral-storage
</code></pre>

<p>Any ideas as to how I fix this?</p>

<p>The relevant part of the yaml configuration file looks like so: </p>

<pre><code>    resources:
      requests:
        memory: 500Mi
        cpu: 1
        ephemeral-storage: 16Gi
      limits:
        memory: 4Gi
        cpu: 1
        ephemeral-storage: 32Gi 
</code></pre>

<p>I have tried assigning extra disk space at startup with the following but the error persists:</p>

<pre><code>minikube start --disk-size 64g
</code></pre>

wobbily_col
<p>The issue is that minikube <a href="https://github.com/kubernetes/minikube/issues/1002" rel="noreferrer">can't resize</a> the VM disk.</p>

<p>Depending on the type Hypervisor driver (xhyve, virtualbox, hyper-v) and disk type (qcow2, sparse, raw, etc.) resizing the VM disk will be different. For example, for if you have:</p>

<pre><code>/Users/username/.minikube/machines/minikube/minikube.rawdisk
</code></pre>

<p>You can do something like this:</p>

<pre><code>$ cd /Users/username/.minikube/machines/minikube
$ mv minikube.rawdisk minikube.img
$ hdiutil resize -size 64g minikube.img
$ mv minikube.img minikube.rawdisk
$ minikube start
$ minikube ssh
</code></pre>

<p>Then in the VM:</p>

<pre><code>$ sudo resize2fs /dev/vda1 # &lt;-- or the disk of your VM
</code></pre>

<p>Otherwise, if you don't care about the data in your VM:</p>

<pre><code>$ rm -rf ~/.minikube
$ minikube start --disk-size 64g
</code></pre>
