New installation using helm on k8s only logging loki namespace

Hey,

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.

Can anyone give me any help?

Thanks!

2 Likes

Same here.

Did you manage to do any workaround? I’m having the same issue.

Having this same issue as well, does anyone have any workarounds for this?

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