aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-rke/scripts/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/heat/onap-rke/scripts/deploy.sh')
-rwxr-xr-xdeployment/heat/onap-rke/scripts/deploy.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/deployment/heat/onap-rke/scripts/deploy.sh b/deployment/heat/onap-rke/scripts/deploy.sh
index 298e3e706..7e8bdf76f 100755
--- a/deployment/heat/onap-rke/scripts/deploy.sh
+++ b/deployment/heat/onap-rke/scripts/deploy.sh
@@ -241,7 +241,7 @@ ssh_agent_auth: false
authorization:
mode: rbac
ignore_docker_version: false
-kubernetes_version: "v1.13.4-rancher1-2"
+kubernetes_version: "v1.13.5-rancher1-2"
private_registries:
- url: $DOCKER_PROXY
is_default: true
@@ -256,10 +256,14 @@ mkdir -p ./target
cp ./cluster.yml~ ./target/cluster.yml
pushd ./target
+wget https://github.com/rancher/rke/releases/download/v0.2.1/rke_linux-amd64
+mv rke_linux-amd64 rke
+chmod +x rke
+
# spin up k8s with RKE
-until rke up; do
+until ./rke up; do
sleep 1m
- rke remove
+ ./rke remove
done
scp ./kube_config_cluster.yml root@$RANCHER_IP:/root/.kube/config