Skip to content

Instantly share code, notes, and snippets.

@robinkraft
Created July 26, 2018 21:01
Show Gist options
  • Save robinkraft/a0987b50de8b45e4bdc907d841db8f23 to your computer and use it in GitHub Desktop.
Save robinkraft/a0987b50de8b45e4bdc907d841db8f23 to your computer and use it in GitHub Desktop.

Revisions

  1. robinkraft created this gist Jul 26, 2018.
    9 changes: 9 additions & 0 deletions minikube_uninstall.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    minikube stop; minikube delete &&
    docker stop $(docker ps -aq) &&
    rm -rf ~/.kube ~/.minikube &&
    sudo rm -rf /usr/local/bin/localkube /usr/local/bin/minikube &&
    launchctl stop '*kubelet*.mount' &&
    launchctl stop localkube.service &&
    launchctl disable localkube.service &&
    sudo rm -rf /etc/kubernetes/ &&
    docker system prune -af --volumes