Skip to content

Querier not working with Block storage #3596

Answered by jtlisi
vicmania2007 asked this question in Q&A
Discussion options

You must be logged in to vote

@vicmania2007 I think the following snippet is responsible for your issue:

          securityContext:
            readOnlyRootFilesystem: true

This means the cortex pod can't create files locally unless they are scoped to a temporary volume. This is going to cause an issue when running Cortex because it does create a number of temporary files in certain cases. You can either remove this config or ensure each path that requires file system access is set to a mounted volume.

To update the path the query tracker uses for a temporary file, you need to change the following config in the querier config section:

active_query_tracker_dir: <string> | default = "./active-query-tracker

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@vicmania2007
Comment options

Comment options

You must be logged in to vote
1 reply
@pstibrany
Comment options

Answer selected by pstibrany
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants