diff options
author | 2017-10-17 13:33:32 -0700 | |
---|---|---|
committer | 2017-10-17 14:05:47 -0700 | |
commit | 68950cfed4850a7b1089ee2956f106ecd8ff132e (patch) | |
tree | 6fa2384ce59ddade3a53819314927269c54ca68a /tools/docker/demo_deploy.sh | |
parent | b2c252cd8913ef15a00d63a391da1c8a8a17d739 (diff) |
Testing merged cloud-native models code
JIRA: MODELS-23
Cleaned trailing whitespace.
Fixed bugs with Rancher etc setup:
- ssh -o where needed in demo_deploy.sh
- Comment out Rancher-managed Grafana deploy
- Pull dashboards direct from clone
Change-Id: I02707488563a1db4262ebcdf735331707e36fa61
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tools/docker/demo_deploy.sh')
-rw-r--r-- | tools/docker/demo_deploy.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/docker/demo_deploy.sh b/tools/docker/demo_deploy.sh index cbfe949..9454c0e 100644 --- a/tools/docker/demo_deploy.sh +++ b/tools/docker/demo_deploy.sh @@ -1,12 +1,12 @@ #!/bin/bash # Copyright 2017 AT&T Intellectual Property, Inc -# +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,7 +20,7 @@ #. - prometheus + grafana for cluster monitoring/stats #. Prometheus dashboard: http://<master_public_ip>:9090 #. Grafana dashboard: http://<master_public_ip>:3000 -#. +#. #. Prerequisites: #. - Ubuntu server for cluster nodes (admin/master and worker nodes) #. - MAAS server as cluster admin for Rancher master/worker nodes @@ -47,7 +47,7 @@ ssh-add $key echo "Setting up Docker..." bash ~/models/tools/docker/docker-cluster.sh all $master "$workers" # TODO: Figure this out... Have to break the setup into two steps as something -# causes the ssh session to end before the prometheus setup, if both scripts +# causes the ssh session to end before the prometheus setup, if both scripts # (k8s-cluster and prometheus-tools) are in the same ssh session echo "Setting up Prometheus..." scp -o StrictHostKeyChecking=no $key ubuntu@$master:/home/ubuntu/$key |