dashboardIP="http://$KUBE_USER:$KUBE_PASSWORD@`${kubectl} get -o json pod influx-grafana | grep hostIP | awk'{print $2}' | sed's/[,|\"]//g'`"
echo"Grafana dashboard will be available at $dashboardIP. Wait for the monitoring dashboard to be online. Use the master user name and password for the dashboard."
else
echo"Failed to Setup Monitoring"
teardown-monitoring
else
dashboardIP="http://admin:admin@`${kubectl} get -o json pod influx-grafana | grep hostIP | awk'{print $2}' | sed's/[,|\"]//g'`"
echo"Grafana dashboard will be available at $dashboardIP. Wait for the monitoring dashboard to be online."