Last active
June 25, 2021 21:22
-
-
Save jgavinray/46bb28a94a5eeb1e72c0e335a4c0c2bb to your computer and use it in GitHub Desktop.
Tear down my minikube environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minikube stop | |
virsh detach-disk --domain minikube-m02 /var/lib/libvirt/images/minikube-m02.qcow2 --persistent --config --live | |
virsh detach-disk --domain minikube-m03 /var/lib/libvirt/images/minikube-m03.qcow2 --persistent --config --live | |
virsh detach-disk --domain minikube-m04 /var/lib/libvirt/images/minikube-m04.qcow2 --persistent --config --live | |
virsh detach-disk --domain minikube-m05 /var/lib/libvirt/images/minikube-m05.qcow2 --persistent --config --live | |
minikube delete | |
sudo rm /var/lib/libvirt/images/minikube-m02.qcow2 | |
sudo rm /var/lib/libvirt/images/minikube-m03.qcow2 | |
sudo rm /var/lib/libvirt/images/minikube-m04.qcow2 | |
sudo rm /var/lib/libvirt/images/minikube-m05.qcow2 | |
sudo rm -r ~/.minikube |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment