DEV Community

Discussion on: Kubernetes monitoring with Prometheus

rayandasoriya profile image
Rayan Dasoriya Author

You can modify the password by going to prometheus-operator-grafana secrets in the monitor namespace and editing the admin-password and admin-user. Alternatively, you can also edit it by executing this command:

kubectl edit secrets prometheus-operator-grafana -n monitor

This will open up the secrets file and you can enter the base64 encoded secret values in the data field.