hyperv: If there is no VM , minikube delete should be able to proceed #4459
Labels
co/hyperv
HyperV related issues
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
minikube delete
should be able to delete the.minikube
folder even if the Hyper-V VM does not exist. For some reason if the Hyper V VM Creation fails, the directory is created but then theminikube delete
starts failing. Now, deleting the.minikube
directory is the only option asminikube start
will also not run.Maybe add a
-force
flag to the delete command?The exact command to reproduce the issue:
.\minikube start --vm-driver "hyperv" --hyperv-virtual-switch "Default Switch" --memory 10 -v 9999
(This will fail stating "'minikube' failed to modify device 'Memory'. (Virtual machine ID 3B02F3CF-034C-4E0A-8972-9567905AF923)Invalid startup memory amount assigned for 'minikube'. The minimum amount of memory you can assign to this virtual machine is '32' MB.")
minikube delete -v 9999
The full output of the command that failed:
The output of the
minikube logs
command:The operating system version:
Windows 10 Enterprise
The text was updated successfully, but these errors were encountered: