You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking for a solution to deploy loki in a multi-tenant way. Documentation exposes that an auth_enabled flag has to be set up to true. But, it needs a reverse proxy to inject some headers along with the authentication layer.
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
A stale issue or PR that will automatically be closed.
label
Sep 17, 2019
Hi.
I was looking for a solution to deploy loki in a multi-tenant way. Documentation exposes that an
auth_enabled
flag has to be set up totrue
. But, it needs a reverse proxy to inject some headers along with the authentication layer.I made a POC modifying a rendered loki helm chart template and i think that making available the possibility to add extra-containers, extra-volumes and extra service ports could make it easy to deploy loki in a multi-tenant way. Something similar to nginx ingress controller chart from bitnami -> https://github.com/bitnami/charts/blob/master/bitnami/nginx-ingress-controller/values-production.yaml#L223
I think it may be a non-intrusive solution and may be helpful to implement multi-tenant solutions.
I'll paste part of the modification i tested:
partial statefulset.yaml
Added a sidecar container with a basic golang reverse proxy (we can discuss it later if you want).
partial service.yaml
partial service-headless.yaml
Both services add the sidecar port.
I can make a PR for this ;)
Thanks!
The text was updated successfully, but these errors were encountered: