Skip to content
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 single configmap for overrides #896

Merged
merged 10 commits into from
Aug 19, 2021
Merged

Conversation

kavirajk
Copy link
Contributor

@kavirajk kavirajk commented Aug 19, 2021

What this PR does:
Add support to tempo workloads to read overrides values from single configmap in microservice mode.

Which issue(s) this PR fixes:
Fixes #875

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@CLAassistant
Copy link

CLAassistant commented Aug 19, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @kavirajk, splitting up the overrides yaml works well 🙂

There is only an issue when you modify $.config.overrides_configmap_name, this change isn't propagated correctly and some code relies on the default value.

operations/jsonnet/microservices/compactor.libsonnet Outdated Show resolved Hide resolved
operations/jsonnet/microservices/config.libsonnet Outdated Show resolved Hide resolved
operations/jsonnet/microservices/configmap.libsonnet Outdated Show resolved Hide resolved
operations/jsonnet/microservices/distributor.libsonnet Outdated Show resolved Hide resolved
operations/jsonnet/microservices/ingester.libsonnet Outdated Show resolved Hide resolved
operations/jsonnet/microservices/configmap.libsonnet Outdated Show resolved Hide resolved
kavirajk and others added 6 commits August 19, 2021 19:26
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Co-authored-by: Koenraad Verheyden <koenraad.verheyden@posteo.net>
Copy link
Member

@kvrhdn kvrhdn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks again 🙂

@kvrhdn kvrhdn merged commit 50fe7a8 into main Aug 19, 2021
@kvrhdn kvrhdn deleted the use-single-configmap-for-overrides branch August 19, 2021 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jsonnet/microservices: create separate configmap for overrides
4 participants