minikube start fails with 'Requested disk size (0MB) is less than minimum of 2000MB'

11/1/2019

I'm attempting to create a cluster using minikube. When I run

minikube start

I get the following output:

  minikube v1.2.0 on darwin (amd64)
  Requested disk size (0MB) is less than minimum of 2000MB

I certainly have space:

me⚡️$ df -h
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   112Gi   82Gi   24Gi    77% 1394770 9223372036853381037    0%   /
devfs          332Ki  332Ki    0Bi   100%    1148                   0  100%   /dev
/dev/disk1s4   112Gi  5.0Gi   24Gi    17%       4 9223372036854775803    0%   /private/var/vm
map -hosts       0Bi    0Bi    0Bi   100%       0                   0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%       0                   0  100%   /home
minikube config view
- disk-size: 2000
-- Kobbi Gal
kubernetes
minikube

1 Answer

11/5/2019

You can configurate the disk size of the minikube VM using the --disk-size flag.

First you need to run minikube stop and minikube delete for new parameters to take place.

Specify VM driver if needed by running the --vm-driver=<enter_driver_name> flag.

Finally start the minikube with: minikube start --vm-driver=<enter_driver_name> --disk-size 20GB (change the size as you find fitting).

Please let me know if that helped.

-- OhHiMark
Source: StackOverflow