add grafana to k8s install 27/50027/1
authorMichael O'Brien <frank.obrien@amdocs.com>
Sat, 2 Jun 2018 13:05:01 +0000 (09:05 -0400)
committerMichael O'Brien <frank.obrien@amdocs.com>
Sat, 2 Jun 2018 13:05:42 +0000 (09:05 -0400)
Change-Id: Ie9dadb7e1a36d8a499772cc7d205152fb626f7b4
Issue-ID: LOG-399
Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
deploy/rancher/oom_rancher_setup.sh

index 2d618c5..45107ea 100755 (executable)
@@ -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"
 }