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

[Tempo-distributed] Additional initContainers in microservices #3516

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rpalexis
Copy link

Summary

This PR adds support for defining and injecting additional initContainers in various microservices within the tempo-distributed setup. While some microservices already supported custom initContainers, others did not, which created inconsistencies and limitations for certain use cases.


What I Did

  • Added support for additional initContainers in microservices that previously lacked it.
  • Ensured the implementation aligns with the existing structure for defining and injecting initContainers.
  • Components updated:
    • compactor
    • distributor
    • memcached
    • metrics-generator
    • querier
    • queryFrontend

Why This is Needed

In some deployments of tempo-distributed, specific microservices require custom initContainers to handle pre-startup tasks (e.g., configuration, initialization, secrets management). Without this feature, users had to resort to workarounds or were unable to achieve their desired setup.

An issue referencing this problem was also identified:

This PR addresses this gap by standardizing initContainers support across all relevant microservices.

@CLAassistant
Copy link

CLAassistant commented Jan 10, 2025

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Rulx Philomé Alexis <rulxphilome.alexis@gmail.com>
Signed-off-by: Rulx Philomé Alexis <rulxphilome.alexis@gmail.com>
@rpalexis rpalexis force-pushed the feat/adding-initcontainers branch from ba7b966 to 851c1a6 Compare January 10, 2025 00:19
@joe-elliott
Copy link
Member

Thanks for the improvement! CI can be picky in this repo about things like the PR title and such. If you make CI happy we can merge.

Signed-off-by: Rulx Philomé Alexis <rulxphilome.alexis@gmail.com>
@rpalexis rpalexis changed the title Tempo-distributed - additional initContainers in microservices [Tempo-distributed] Additional initContainers in microservices Jan 11, 2025
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.

3 participants