-
Notifications
You must be signed in to change notification settings - Fork 55
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
cortex: Define Azure object storage ruler args #416
Conversation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
4f8c745
to
64fa11d
Compare
cortex/config.libsonnet
Outdated
'ruler-storage.azure.container-name': '%(cluster)s-%(namespace)s-ruler' % $._config, | ||
'ruler-storage.azure.account-name': '$(BLOCKS_STORAGE_AZURE_ACCOUNT_NAME)', | ||
'ruler-storage.azure.account-key': '$(BLOCKS_STORAGE_AZURE_ACCOUNT_KEY)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should all be configurable. Not autogenerated (and what's BLOCKS_STORAGE_AZURE_ACCOUNT_NAME
?):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pracucci OK, looking into it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my understanding, when you say "should be configurable", do you mean that they should exist as fields in the _config
object?
The values BLOCKS_STORAGE_AZURE.*
look like Kubernetes environment variables but I'm not sure how they are getting to the Pod spec. Is there something special in Azure or is this tbd?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed a revision parameterizing the fields instead.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
b456511
to
afb7bc8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like all the flags we need. I've double checked for any typos and it looks good to me
I've tested the latest revision FWIW, and it looks good. |
…e-ruler cortex: Define Azure object storage ruler args
What this PR does:
Define ruler object storage arguments for Azure.
Which issue(s) this PR fixes:
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]