-
Notifications
You must be signed in to change notification settings - Fork 9.5k
[bitnami/thanos] inconsistent caching configuration in values.yaml #4344
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
Comments
Hi @mhulscher , charts/bitnami/thanos/values.yaml Line 40 in c1b6bf7
|
@miguelaeh I am not sure what you are trying to say? The issue that I am raising is not that caching is not supported, I know that it is supported :) The issue is that the several cache configurations are not configured in a consistent manner in the |
I am sorry, I mean, each component has its own section to be configured. That section will be a yaml file. Isn't it possible to configure the cache options into that files? |
@miguelaeh
But some other cache configuration is located under the specific component:
This cache configuration for The issue is that right now, the way in which the caches are configured is different for different components, which doesn't make sense. |
Hi @mhulscher , |
I can create a PR, however, like I mentioned in the issue:
How acceptable is it that this results in a major, backwards incompatible, release? Could we potentially combine it with #4307 and #4417? Keeping the chart backwards compatible is going to be a real pain and is going to leave a lot of duplicate template code. |
Hi @mhulscher , |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Which chart:
bitnami/thanos
Is your feature request related to a problem? Please describe.
Recently the query-frontend component has been added to the thanos helm-chart. The query-frontend supports caching query-range results in memcache or in memory. This configuration can be passed in the
values.yaml
file atqueryFrontend.config
.However, other components that consume configmaps for cache configuration are configured in a different way. Whereas the query caching configuration lives under the
queryFrontend
key, that's not true for the following settings:objstoreConfig
indexCacheConfig
bucketCacheConfig
Additionally, the next release of thanos seems to support a 2nd caching configuration for the query-frontend component; caching of labels: thanos-io/thanos#3315 . This would make the current key at
queryFrontend.config
confusing. Am I configuring the query-range result cache or the labels cache?Describe the solution you'd like
I am curious to know if there has already been discussions regarding this topic.
I can see at least two options to make the caching configurations more consistent.
values.yaml
and use specific names, for example:Regardless of what would happen, this will likely result in a backwards incompatible change in the format of the
values.yaml
file.If there's a preferred direction then I am willing to help author a PR.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: