Last active
May 6, 2020 19:46
-
-
Save joelanford/d4ff12892d6594bf2779e198e012ee5a to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
DEFAULT_VERSION="v1.18.2" | |
if [[ -z "$KUBERNETES_VERSION" ]]; then | |
echo "KUBERNETES_VERSION not set. Using '$DEFAULT_VERSION'." | |
fi | |
KUBERNETES_VERSION="${KUBERNETES_VERSION:-$DEFAULT_VERSION}" | |
export MINIKUBE_IN_STYLE=false | |
export CHANGE_MINIKUBE_NONE_USER=true | |
minikube delete | |
rm -rf /tmp/juju-* | |
sudo -E minikube start --driver=none \ | |
--kubernetes-version=$KUBERNETES_VERSION \ | |
--apiserver-ips 127.0.0.1 \ | |
--apiserver-names localhost \ | |
--extra-config="kubeadm.ignore-preflight-errors=SystemVerification" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment