aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/k8s/install_minikube.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/scripts/k8s/install_minikube.sh')
-rw-r--r--sdc-os-chef/scripts/k8s/install_minikube.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/sdc-os-chef/scripts/k8s/install_minikube.sh b/sdc-os-chef/scripts/k8s/install_minikube.sh
new file mode 100644
index 0000000000..b0f0d53cae
--- /dev/null
+++ b/sdc-os-chef/scripts/k8s/install_minikube.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+echo "[INFO] minikube version - v0.24.1"
+
+curl_status=$(curl -w '%{http_code}\n' -Lo minikube https://storage.googleapis.com/minikube/releases/v0.24.1/minikube-linux-amd64)
+
+if [ $curl_status != 200 ] ; then
+ echo "[ERROR] Download minikube failed - $curl_status"
+ exit -1
+fi
+
+chmod +x minikube
+
+sudo mv minikube /usr/local/bin/
+
+export CHANGE_MINIKUBE_NONE_USER=true
+
+sudo minikube start --vm-driver=none