How to get Loki installed with Grafana for Kubernetes

Hello,

I have Grafana installed in Kubernetes as a pod and all grafana yaml files setup.

I need to know how to get Loki 1.6.0 or 1.6.1 setup as pod and installed so I can add Loki as datasource.

Do I only need to have the loki yaml file and Promtail yaml files?

What is needed for this to work?

Thanks,

freddie2019

Hi Freddie - for Kubernetes deployments, the Loki team has suggested referencing their Tanka (our take on ksonnet) file which helps break up Loki into microservices:

Also just in case you’re using using Amazon EKS for your deployment - we did have a recent write up on the blog for setting up Loki for that: https://grafana.com/blog/2020/07/21/loki-tutorial-how-to-send-logs-from-eks-with-promtail-to-get-full-visibility-in-grafana/