DEV Community

Victoria Santana
Victoria Santana

Posted on

7

How to get grafana password kube-stack-prometheus

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

Top comments (1)

Collapse
 
bobsbits profile image
Peter Kleinmann

I signed up just to say thanks Victoria!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay