diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-04-24 11:16:24 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2019-04-24 11:16:24 -0700 |
commit | 137e2b876e330b9664449c8d33d637abf4801285 (patch) | |
tree | 18e37a33e6d3beaeff17fe29cc454a601716f221 /deployment/heat/onap-rke/scripts/deploy.sh | |
parent | cad70695c026fe0af7590bf1759fdc1f9aeb5d5e (diff) |
Bump rke to 0.2.1
Change-Id: Id63e436498179a23b5d2681cbabc3daec0357c91
Issue-ID: OOM-1598
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-rke/scripts/deploy.sh')
-rwxr-xr-x | deployment/heat/onap-rke/scripts/deploy.sh | 10 |
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 |