Add K8S deployment above Vagrant
Set deployment manifest files and scripts
for deploy SDC over Kubernetes inside
Vagrant
Preparation for OOM integration
Change-Id: I1f54b95067538f42d2d68fa3366b512dc9134f43
Issue-ID: SDC-907
Signed-off-by: Areli Fuss <af732p@att.com>
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 0000000..b0f0d53
--- /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