-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Issues with Volume Mounts in Helm Chart #3005
Comments
For additional context, I also was following the instructions to upgrade from Loki 1.5.0 to 2.0.0 using the Helm chart, if that helps with anything. |
I think you're right. |
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. |
Curious to hear if anyone knows what about the volume mount causes the issue on the fresh install. One suspicion I have is with the Dockerfile. |
Hitting this issue as well: The rules dir generation seems to come from the Dockerfile here: Line 18 in e6778e9
We got around it by mounting it in a different location (seems to be configurable). |
With default suggested ruler config rules are evaluated
Rule evaluation works, but each rule is checked twice because of the layout of the config maps:
it looks like only ..data and the last Config map are evaluated
|
Was able to fix the issue with double rules evaluation only by changing the helm chart: Log: it looks like this was addressed in loki-distributed chart: |
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. |
This is still a problem |
Can we reopen in https://github.com/grafana/helm-charts now that we've moved ownership there? |
An organization admin can move this issue there. |
This tripped me up quite a bit for the What wound up working for me on a fresh install of the ruler was to specify local storage, and point the storage dir to where the rules wind up getting rendered.
So i'm not 100% positive why the docs don't reference the storage path as being where the ruler will scan for provided rules, but that was the missing link for me. I hope this helps others stuck in the same loop of debugging why rule files aren't loading. |
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. |
I am having the same issue, using s3 to store alerts with the loki-stack helm-chart. I had to open an issue
Can we please get this fixed or get some examples regarding this. |
See grafana/loki#3005 (comment) for issue detail.
See grafana/loki#3005 (comment) for issue detail.
See grafana/loki#3005 (comment) for issue detail. Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
Describe the bug
Loki 2.0.0 Dockerfile creates directories
/loki/rules
and/loki/tmprules
, but suggested values in comments for ruler config for Helm chart showWhen using this config, I get the following logs while Loki is on CrashLoopBackoff
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For Loki to run, and for some clarity/consistency in documentation.
Environment:
The text was updated successfully, but these errors were encountered: