I’ve installed Loki using the loki chart on Grafana Community Kubernetes Helm Charts | helm-charts and logs are arriving in Loki which I can see in Grafana > Explore. But it’s only logging pods in the namespace that Loki was installed in.
Did some googling and found this:
But disabling the operator didn’t fix the issue for me.
It does seem that the issue is the configuration in the secrets, but I don’t see a way with the helm chart values to override this? I want it to pick up all pods on all namespaces.
For anyone looking into this: The more recent helm charts have a Grafana Agent operator with them, so any custom configurations for logs should be done through the operator and its objects (logsInstance, podLogs). Documentation states that the Helm chart doesn’t provide a way to configure these because there are way too many possibilities. Deploy Operator resources | Grafana Agent documentation