aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-11-01 13:45:31 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-11-01 13:45:31 -0700
commit89f6723ac3077f6d29f61319b6ae02638a966fdb (patch)
tree821db827751bb32477f103a058728f92246f23ce /deployment/heat/onap-oom/rancher_vm_entrypoint.sh
parentc289d9ab40e4523e426b80674eee2e9bbdcb7d9b (diff)
Run k8s orchestration plane in dedicated VM
Running the orchestration plane in the Rancher VM seems less stable. Go back to running the orchestration plane in a separate, dedicated VM instead. Change-Id: Iaf110ad9d433fd716732d881e627841f923ed55e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/rancher_vm_entrypoint.sh')
-rw-r--r--deployment/heat/onap-oom/rancher_vm_entrypoint.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
index e8aae2ea1..ed1dc886d 100644
--- a/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
+++ b/deployment/heat/onap-oom/rancher_vm_entrypoint.sh
@@ -192,9 +192,12 @@ git add -A
git commit -a -m "Add rancher agent command file"
cd ~
-cp /dockerdata-nfs/rancher_agent_cmd.sh .
-sed -i "s/docker run/docker run -e CATTLE_HOST_LABELS='orchestration=true' -e CATTLE_AGENT_IP=${HOST_IP}/g" rancher_agent_cmd.sh
-source rancher_agent_cmd.sh
+
+# Uncomment this section to run orchestration plane on the Rancher VM
+#
+# cp /dockerdata-nfs/rancher_agent_cmd.sh .
+# sed -i "s/docker run/docker run -e CATTLE_HOST_LABELS='orchestration=true' -e CATTLE_AGENT_IP=${HOST_IP}/g" rancher_agent_cmd.sh
+# source rancher_agent_cmd.sh