Question

How to uninstall 1-click app loki-grafana

Posted January 19, 2021 120 views
Logging

Hello,

  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.

×
4 answers
Show answer This answer has been marked as resolved by panunda.

Hello, @haimari1

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

https://marketplace.digitalocean.com/apps/grafana-loki

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

to

kubectl --namespace loki-stack get pods

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

Regards,
Alex

  • 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.

      Regards,
      Alex

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

Thanks again

Submit an Answer