How to uninstall 1-click app loki-grafana

Posted January 19, 2021 725 views


  1. How do I completely uninstall the app?
  2. Instructions should be updated with the correct namespace: loki-stack Not loki
  3. I was not able to login with user admin, and the output token of the command: kubectl get secret --namespace loki-stack loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode (Bad credentials)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
Show answer This answer has been marked as resolved by dopaul.

Hello, @haimari1

If you want to start from scratch you can simply spin up a new droplet from the marketplace:

I’ve just tested this on a test droplet and everything seems to be running just fine. Credentials are working fine and I can access Grafana without any issues.

I agree that the command needs to be updated with the correct namespace from loki to loki-stack, e.g

kubectl --namespace loki get pods


kubectl --namespace loki-stack get pods

I will follow up on that and will try to get this updated.


  • Hello Alex,

    How can I remove it ? (not starting from scratch)

    Thank you for your help !

    • Hi,

      The once click apps are separate images which include the OS and the software so the configuration on different software on top of the droplet/pods can be different.

      If you want to give it another go with the Grafana Loki app I will recommend you to spin up the cluster again using the one-click app from the marketplace.

      As mentioned, Grafana Loki is working just fine tested from my end. The password generated from the following command:

      kubectl get secret --namespace loki loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode

      is used to login Grafana, username is admin.


Can you please read again question #1 in the first post ?
I guess you missed that question :-)

Thanks again