Created
December 14, 2019 17:12
-
-
Save vfarcic/74bb5cca71123db9be2c81e413d5bfe4 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 grafana \ | |
stable/grafana \ | |
--namespace metrics \ | |
--version 4.1.3 \ | |
--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 \ | |
--namespace metrics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment