Skip to content

Use single configmap for overrides#896

Merged
yvrhdn merged 10 commits intomainfrom
use-single-configmap-for-overrides
Aug 19, 2021
Merged

Use single configmap for overrides#896
yvrhdn merged 10 commits intomainfrom
use-single-configmap-for-overrides

Conversation

@kavirajk
Copy link
Copy Markdown
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
Copy Markdown

CLAassistant commented Aug 19, 2021

CLA assistant check
All committers have signed the CLA.

Comment thread operations/jsonnet/microservices/config.libsonnet Outdated
Copy link
Copy Markdown
Contributor

@yvrhdn yvrhdn 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.

Comment thread operations/jsonnet/microservices/compactor.libsonnet Outdated
Comment thread operations/jsonnet/microservices/config.libsonnet Outdated
Comment thread operations/jsonnet/microservices/configmap.libsonnet Outdated
Comment thread operations/jsonnet/microservices/distributor.libsonnet Outdated
Comment thread operations/jsonnet/microservices/ingester.libsonnet Outdated
Comment thread operations/jsonnet/microservices/configmap.libsonnet Outdated
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
Copy Markdown
Contributor

@yvrhdn yvrhdn 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 🙂

@yvrhdn yvrhdn merged commit 50fe7a8 into main Aug 19, 2021
@yvrhdn yvrhdn 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