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
Use common storage config in jsonnet #3257
Conversation
ea03090
to
45db1df
Compare
45db1df
to
2463e20
Compare
Hopefully last force-push. Should be ready for review now. |
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.
Massive work, LGTM! 👏
Thank you for your review, @pracucci. |
654f066
to
2edb19b
Compare
@@ -29,6 +29,23 @@ | |||
|
|||
### Jsonnet | |||
|
|||
* [CHANGE] [Common storage configuration](https://grafana.com/docs/mimir/v2.3.x/operators-guide/configure/configure-object-storage-backend/#common-configuration) is now used to configure object storage in all components. This is a breaking change in terms of Jsonnet manifests and also a CLI flag update for components that use object storage, so it will require a rollout of those components. The changes include: #3257 |
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.
* [CHANGE] [Common storage configuration](https://grafana.com/docs/mimir/v2.3.x/operators-guide/configure/configure-object-storage-backend/#common-configuration) is now used to configure object storage in all components. This is a breaking change in terms of Jsonnet manifests and also a CLI flag update for components that use object storage, so it will require a rollout of those components. The changes include: #3257 | |
* [BREAKING CHANGE] [Common storage configuration](https://grafana.com/docs/mimir/v2.3.x/operators-guide/configure/configure-object-storage-backend/#common-configuration) is now used to configure object storage in all components. This is a breaking change in terms of Jsonnet manifests and also a CLI flag update for components that use object storage, so it will require a rollout of those components. The changes include: #3257 |
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'm not sure that it's an option in our changelog. I think that all changes are assumed at least breakish, otherwise they're not considered changes.
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.
Feel free to ignore the feedback if it does not apply. I appreciate the note though. :)
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-ruler.md
Outdated
Show resolved
Hide resolved
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-ruler.md
Outdated
Show resolved
Hide resolved
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.
Unblocking with nits
docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md
Outdated
Show resolved
Hide resolved
(Didn't I comment on this? Apparently I forgot to). @pracucci, @osg-grafana I've added two extra commits after your review, as I felt this change wasn't complete enough. Can I ask you please to review them too? Thank you. |
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.
Amazing work, LGTM! (modulo a nit)
|
||
## Azure (`azure`) storage configuration options | ||
|
||
Azure storage client requires the `storagE_azurE_account_name` and `storage_azure_account_key` to be configured. |
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.
Azure storage client requires the `storagE_azurE_account_name` and `storage_azure_account_key` to be configured. | |
Azure storage client requires the `storage_azure_account_name` and `storage_azure_account_key` to be configured. |
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.
Oh God, how did this happen? How didn't I notice it?. Thank you.
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.
Fixed here as file was renamed: 538ad46
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.
Great stuff, @colega. :)
I will merge this on Friday. |
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
We know helm doesn't set the common storage config yet, so let's mark it as irrelevant meanwhile. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
…iguring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
…iguring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
538ad46
to
97511e0
Compare
* Use common config in jsonnet Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update jsonnet test definitions (but not outputs) Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Commit results of make check-jsonnet-tests Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Mark common.storage.backend as irrelevant We know helm doesn't set the common storage config yet, so let's mark it as irrelevant meanwhile. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update documentation Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update CHANGELOG.md Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Don't forget the alertmanager storage config Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Commit jsonnet tests with missing alertmanager cfg Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Apply suggestions from code review Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Update docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Update docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Allow credentials configuration for S3/GCS Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Improve docs with better examples Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Rename configuring-object-storage-backend.md to configure-object-storage-backend.md (grafana#3308) * Fix weird case Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* Use common config in jsonnet Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update jsonnet test definitions (but not outputs) Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Commit results of make check-jsonnet-tests Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Mark common.storage.backend as irrelevant We know helm doesn't set the common storage config yet, so let's mark it as irrelevant meanwhile. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update documentation Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Update CHANGELOG.md Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Don't forget the alertmanager storage config Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Commit jsonnet tests with missing alertmanager cfg Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Apply suggestions from code review Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Update docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Update docs/sources/operators-guide/deploy-grafana-mimir/jsonnet/configuring-object-storage-backend.md Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com> * Allow credentials configuration for S3/GCS Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Improve docs with better examples Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> * Rename configuring-object-storage-backend.md to configure-object-storage-backend.md (grafana#3308) * Fix weird case Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
What this PR does
Switches jsonnet definitions to use common storage config.
Makes
compare-helm-with-jsonnet
ignore thecommon.storage.
configuration differences for now, as we'll follow up with changes for Helm in future PRs.Which issue(s) this PR fixes or relates to
Follow up on #2319
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]