Post

Grafana - Retrive Admin Credentials

Kube-stack-prometheus

Retrieve Grafana Password

kubectl get secret prometheus-grafana -o jsonpath=”{.data.admin-password}” | base64 –decode ; echo

Reset Grafana Password

kubectl exec –namespace monitoring -it $(kubectl get pods –namespace monitoring -l “app.kubernetes.io/name=grafana” -o jsonpath=”{.items[0].metadata.name}”) – grafana cli admin reset-admin-password yourNewPasswordHere

This post is licensed under CC BY 4.0 by the author.