-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
store: Thanos store does not support reloading of configuration #4855
Comments
Reloading object store credentials is not supported right now. But it would be good to make it hot reloadable. |
Hello 👋 Looks like there was no activity on this issue for the last two months. |
Closing for now as promised, let us know if you need this to be reopened! 🤗 |
I was hoping that maybe that problem will be fixed as a result of adding aws-sdk ( #4667 ) but unfortunately it isn't (tested on 0.26.0) |
Still valid. After updating thanos (to version that contains AWS SDK ) usage of temporary credentials is possible, we render credentials with vault injector inside /home/.aws/credentials But after credentials are refreshed thanos component still has to be restarted, cause it does not reload them. |
I'd like to propose to reopen this bucket. In certain places company policies force us to use only temporary credentials. It's potentially a cause for brief unavailability and is very heavy operation. |
+1 to it. In our case it's also causing constant unwanted restarts. |
Another +1 Would be great to see a graceful reload endpoint implemented. Or, even better, a mechanism to watch the credentials file for changes and reload as required. |
+1 It would be great to have a soft reload when mTLS certificates have been updated (e.g., by using a sidecar container or when the secret has been modified, etc). |
I'm rendering s3 bucket config using vault injector and after refreshing AWS credentials (after expiration) I'd like to 'notify' / trigger reload of thanos store.
I tried to send some signals to store like -HUP, I see in logs that they are being noticed, but credentials used for accessing bucket (in AWS in my case) are still old ones.
I found similar issue for ruler component
#4432
I ended up restarting thanos with -9
which is causing small downtime, but works
I tried to use /-/reload endpoint but store component does not seem to expose it
Object Storage Provider: AWS
What happened:
What you expected to happen:
Thanos store should have a way to trigger reload of bucket config without downtime.
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: