From 89f6723ac3077f6d29f61319b6ae02638a966fdb Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 1 Nov 2018 13:45:31 -0700 Subject: 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 --- deployment/heat/onap-oom/rancher_vm_entrypoint.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'deployment/heat/onap-oom/rancher_vm_entrypoint.sh') 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 -- cgit 1.2.3-korg