-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support managing loki #44
Comments
I've had a quick look and I think Loki and Promtail could run as sidecar containers in the Grafana Pod. So this should already be possible by using the We use this mechanism to add an Oauth proxy in front of Grafana, see our example. If you'd like to try out adding Loki in this way i'd be very interested in the result. Edit: the |
I don't think, that's going to be enough. To ingest logs from the whole cluster (or at least parts of the container) one needs a sidecar in any container or preferably running promtail once on each node, reading docker or runc logs directly. I also think the operator should manage each Loki part separately to allow to scale it separately.
I tend to think that it makes sense to integrate loki in grafana operator, because it will benefit from integration of Loki in Grafana, but maybe it's not in scope. What do you think? I might be able to contribute.
|
I see, so ideally Loki would run in its own Pod to scale it independently of Grafana? That makes sense. Its not currently on our Roadmap but if you want to contribute you're very welcome. If there is an extra Pod independent of the Grafana Pod then i think we also need a The Prometheus Operator can be taken as an example: it not only manages Prometheus instances but also Alertmanager which runs in a separate Pod. |
We are currently discussing how to solve this issue. Our current plan points towards having a separate operator loki and grafana. You can find more information here: #497 A RedHat team have already started working on a loki operator, https://github.com/ViaQ/loki-operator please have a look and try it out. |
Oh, interesting. I did not see the other operator. I am fine either way. I thought it made sense to bundle them together because it's nice to have the same label config from the same source. |
It's rather new so it's nothing strange with that. |
@ibotty We've decided to close this issue off, as we'll be moving to a more plug-n-play approach with the Loki and Promtail operators, please feel free to leave your feedback here based on your evaluation of the viaq Loki operator, we'd love to hear your thoughts on this as we'll be evaluating this soon ourselves as well. Thanks! |
It would be great to allow grafana-operator to also manage the various components of loki.
The text was updated successfully, but these errors were encountered: