diff options
author | 2017-11-22 22:03:10 -0800 | |
---|---|---|
committer | 2017-11-22 22:03:10 -0800 | |
commit | 5f9aea9b3d869fdda9fb05179fe3aabaf06f547b (patch) | |
tree | 394de091badb7470c85b4ef1e1b166c8bda04c0e | |
parent | 6fed8f84fb3f9eed570320bd3855f882dca0fc09 (diff) |
Reuse existing grafana server for VES
JIRA: MODELS-2
Change-Id: I476a22cee9ce9a5381b64484a973ab0cdf4266af
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
-rw-r--r-- | tools/kubernetes/demo_deploy.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/kubernetes/demo_deploy.sh b/tools/kubernetes/demo_deploy.sh index b8a6cd1..4777c4b 100644 --- a/tools/kubernetes/demo_deploy.sh +++ b/tools/kubernetes/demo_deploy.sh @@ -102,6 +102,10 @@ echo; echo "$0 $(date): Setting up VES master node" if [[ ! -d ~/ves ]]; then git clone https://gerrit.opnfv.org/gerrit/ves ~/ves fi +ves_grafana_host=$master:3000 +ves_grafana_auth=admin:admin +export ves_grafana_host +export ves_grafana_auth bash ~/ves/tools/demo_deploy.sh master $master $key echo; echo "$0 $(date): Setting up collectd for VES events from worker nodes" @@ -117,8 +121,7 @@ echo "Helm chart demo app dokuwiki is available at http://$NODE_IP:$NODE_PORT/" port=$( bash ~/models/tools/cloudify/k8s-cloudify.sh port nginx $master) echo "Cloudify-deployed demo app nginx is available at http://$master:$port" echo "Prometheus UI is available at http://$master:9090" -echo "Grafana dashboards are available at http://$master:3000 (login as admin/admin)" -echo "Grafana API is available at http://admin:admin@$master:3000/api/v1/query?query=<string>" +echo "Grafana dashboards are available at http://$ves_grafana_host (login as $ves_grafana_auth)" +echo "Grafana API is available at http://$ves_grafana_auth@$ves_influx_host/api/v1/query?query=<string>" echo "Kubernetes API is available at https://$master:6443/api/v1/" echo "Cloudify API access example: curl -u admin:admin --header 'Tenant: default_tenant' http://$master/api/v3.1/status" -echo "VES Grafana dashboard is at http://$master:3001 (login as admin/admin)" |