From 705e8d9a2f1c13bc82fe8fea3bc5452414fdd56e Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Tue, 17 Oct 2017 17:29:44 -0700 Subject: Fix deploy to avoid need to clone on admin/master node JIRA: MODELS-23 Change-Id: Ic0efddbaab960d26920e2c4c2e4d94b773a3d016 Signed-off-by: Bryan Sullivan --- tools/kubernetes/demo_deploy.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'tools/kubernetes') diff --git a/tools/kubernetes/demo_deploy.sh b/tools/kubernetes/demo_deploy.sh index b7935de..19feb91 100644 --- a/tools/kubernetes/demo_deploy.sh +++ b/tools/kubernetes/demo_deploy.sh @@ -51,20 +51,26 @@ ssh-add $key if [[ "x$extras" != "x" ]]; then source $extras; fi scp -o StrictHostKeyChecking=no $key ubuntu@$admin_ip:/home/ubuntu/$key echo "Setting up kubernetes..." +scp -o StrictHostKeyChecking=no ~/models/tools/kubernetes/k8s-cluster.sh \ + ubuntu@$admin_ip:/home/ubuntu/. ssh -x -o StrictHostKeyChecking=no ubuntu@$admin_ip <