From 61b650c6812eca87a0b384eb42dea35f3748dbd7 Mon Sep 17 00:00:00 2001 From: Michael O'Brien Date: Sat, 2 Jun 2018 09:05:01 -0400 Subject: add grafana to k8s install Change-Id: Ie9dadb7e1a36d8a499772cc7d205152fb626f7b4 Issue-ID: LOG-399 Signed-off-by: Michael O'Brien --- deploy/rancher/oom_rancher_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/rancher/oom_rancher_setup.sh b/deploy/rancher/oom_rancher_setup.sh index 2d618c5..45107ea 100755 --- a/deploy/rancher/oom_rancher_setup.sh +++ b/deploy/rancher/oom_rancher_setup.sh @@ -39,6 +39,7 @@ sudo ./oom_rancher_setup.sh -b master -s cd.onap.cloud -e onap -c false -a 104.2 -e [environment] : use the default (onap) -c [true/false] : use computed client address (default true) -a [IP address] : client address ip - no FQDN +-v [true/false] : validate EOF } @@ -208,6 +209,10 @@ EOF echo "add local helm repo" sudo helm repo add local http://127.0.0.1:8879 sudo helm repo list + echo "enabling grafana dashboard" + kubectl expose -n kube-system deployment monitoring-grafana --type=LoadBalancer --name monitoring-grafana-client + echo "get the nodeport for a specific VM" + kubectl get services --all-namespaces | grep graf echo "finished" } -- cgit 1.2.3-korg