DEV Community

loading...

How to get grafana password kube-stack-prometheus

irisroques profile image Íris Roques ・1 min read

Intro

The helm repo kube-stack-prometheus (formerly prometheus-operator) comes with a grafana deployment embedded. In order to log in Grafana first you need to get the credentials (admin/admin didn't work for me).

Discovering the password 🔍

The user is admin and the password can be found with the following command kubectl get secret grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo

I found the command looking into some github issues and I took me some time, so I hope this is useful to someone else.

Reference

GitHub Thread

Discussion (0)

pic
Editor guide