Setup promtail on kubernetes pods

Hi,

My requirement is to fetch the application logs from kubernetes pods using promtail. I already have grafana and loki setup on separate server and i dont want to set it up again. I just need promtail to be configured to fetch the application logs from kubernetes pods.

Thanks

Just and addition to the question.

  1. I am able to deploy the promtail deamonset pod and able to fetch the pod logs in it. Now what I am stuck with is I cannot get the logs from promtail to grafana. I have already setup loki and promtail is sending logs to loki but unable to see them on GRAFANA Explorer.
    Would really appreciate your help.