-
Hi there, Thanks a lot for this amazing stack, our team have been using grafana / loki / promtail stack on kubernetes for a while. We have been using promtail in daemonset mode, which collects all logs in the k8s cluster. However, we are running k8s in multi-tenant environment. Not all tenants have access (or want) to collect their logs to our grafana / loki dashboard. I have been reading the new grafana-agent documents for some days, and am willing to migrate to the new stack. If I understand it correctly, I can implement a multi-tenant log collecting stack by deploying grafana-agent in sidecar mode. However, I have some questions on how can I implement that.
Sorry for the newbee questions, and thanks in advance for any responses. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The sidecar pattern isn't fully recommended because the overhead of each container can quickly add up and consume a lot of resources. However, if you must use a sidecar pattern, there are two choices to collect logs from a container:
|
Beta Was this translation helpful? Give feedback.
The sidecar pattern isn't fully recommended because the overhead of each container can quickly add up and consume a lot of resources.
However, if you must use a sidecar pattern, there are two choices to collect logs from a container: