Reputation: 906
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
Upvotes: 0
Views: 2022
Reputation: 1852
You have to increase docker's disk image size in your machine. For this setting, you can use docker desktop to increase disk size. Open your docker destop and then go to setting bar, change it under Resource tab and finally press apply&restart button.
Upvotes: 0
Reputation: 14119
What worked for me is the following.
Executed the following command(s).
minikube delete --all=true --purge=true
minikube start --kubernetes-version v1.20.2 --driver=virtualbox
Upvotes: 0
Reputation: 13868
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.
Upvotes: 3