Skip to content
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

Possiblity to run a selection of services instead of just "all" or "single" #3801

Closed
gmintoco opened this issue Jun 4, 2021 · 2 comments · Fixed by #3807
Closed

Possiblity to run a selection of services instead of just "all" or "single" #3801

gmintoco opened this issue Jun 4, 2021 · 2 comments · Fixed by #3807

Comments

@gmintoco
Copy link

gmintoco commented Jun 4, 2021

Is your feature request related to a problem? Please describe.
When using boltdb and filesystem storage in microservices mode it is difficult to implement retention and the compactor because they both need access to the storage (which is on the single ingester).

It would be nice if it was possible to run a selection of services using --target so that compactor, ingester and tablemanager could be all on one node while still offloading query processing to other services.

Describe the solution you'd like
Supporting a comman seperated list of services with the --target parameter. ie --target=ingester,compactor,tablemanager

Describe alternatives you've considered
Just using monolithic mode or moving to a local minio

Additional context
Add any other context or screenshots about the feature request here.

@dannykopping
Copy link
Contributor

@gmintoco please see the linked PR for the fix.

I think you know this already, but just in case: you should only have a single instance of the compactor running:
https://grafana.com/docs/loki/latest/operations/storage/boltdb-shipper/#compactor

HTH 👍

@gmintoco
Copy link
Author

gmintoco commented Jun 8, 2021

Hey @dannykopping thanks a lot!

And yeah I am aware only a single compactor should be running :) thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants