summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorMichael O'Brien <frank.obrien@amdocs.com>2018-06-02 09:05:01 -0400
committerMichael O'Brien <frank.obrien@amdocs.com>2018-06-02 09:05:42 -0400
commit61b650c6812eca87a0b384eb42dea35f3748dbd7 (patch)
tree689ec0333f949b749d424e8c9c0b83022310a58b /deploy
parent625df7299c259e7e356f23629e63616ab5cc5f3d (diff)
add grafana to k8s install
Change-Id: Ie9dadb7e1a36d8a499772cc7d205152fb626f7b4 Issue-ID: LOG-399 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/rancher/oom_rancher_setup.sh5
1 files changed, 5 insertions, 0 deletions
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"
}