Created
November 25, 2018 21:59
-
-
Save vfarcic/b94b3b220aab815946d34af1655733cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd k8s-specs | |
git pull | |
helm inspect values stable/grafana | |
cat mon/grafana-values-bare.yml | |
GRAFANA_ADDR="grafana.$LB_IP.nip.io" | |
helm install stable/grafana \ | |
--name grafana \ | |
--namespace metrics \ | |
--version 1.17.5 \ | |
--set ingress.hosts="{$GRAFANA_ADDR}" \ | |
--values mon/grafana-values-bare.yml | |
kubectl -n metrics \ | |
rollout status deployment grafana | |
open "http://$GRAFANA_ADDR" | |
kubectl -n metrics \ | |
get secret grafana \ | |
-o jsonpath="{.data.admin-password}" \ | |
| base64 --decode; echo | |
open "https://grafana.com/dashboards" | |
open "http://docs.grafana.org/features/datasources/prometheus/#query-variable" | |
helm delete grafana --purge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment