diff options
author | Areli Fuss <af732p@att.com> | 2018-02-01 13:09:07 +0200 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-02-06 17:57:29 +0000 |
commit | 471a29706bfc3ed50a6c66f96ee6575fc2e3087b (patch) | |
tree | cce1286f59676a2f7097cb34146cfa94940d65b4 /sdc-os-chef/scripts/k8s/install_minikube.sh | |
parent | 00c6ec7d386bd27c7752cf86e4692669e8b850ab (diff) |
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>
Diffstat (limited to 'sdc-os-chef/scripts/k8s/install_minikube.sh')
-rw-r--r-- | sdc-os-chef/scripts/k8s/install_minikube.sh | 18 |
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 |