Skip to content

Commit

Permalink
Tempo-distributed - Adding initContainers for components
Browse files Browse the repository at this point in the history
Signed-off-by: Rulx Philomé Alexis <[email protected]>
  • Loading branch information
rpalexis committed Jan 9, 2025
1 parent ecf2456 commit 812d103
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.compactor.initContainers | nindent 8 }}
containers:
- args:
- -target=compactor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.distributor.initContainers | nindent 8 }}
containers:
- args:
- -target=distributor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.memcached.initContainers | nindent 8 }}
containers:
- image: {{ include "tempo.imageReference" $dict }}
imagePullPolicy: {{ .Values.memcached.image.pullPolicy }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.metricsGenerator.initContainers | nindent 8 }}
containers:
- args:
- -target=metrics-generator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.querier.initContainers | nindent 8 }}
containers:
- args:
- -target=querier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.queryFrontend.initContainers | nindent 8 }}
containers:
- args:
- -target=query-frontend
Expand Down
20 changes: 20 additions & 0 deletions charts/tempo-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ metricsGenerator:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
# -- Init Containers
initContainers: []
image:
# -- The Docker registry for the metrics-generator image. Overrides `tempo.image.registry`
Expand Down Expand Up @@ -469,6 +470,10 @@ distributor:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld

# -- Init Containers
initContainers: []

autoscaling:
# -- Enable autoscaling for the distributor
enabled: false
Expand Down Expand Up @@ -623,6 +628,10 @@ compactor:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld

# -- Init Containers
initContainers: []

image:
# -- The Docker registry for the compactor image. Overrides `tempo.image.registry`
registry: null
Expand Down Expand Up @@ -717,6 +726,10 @@ querier:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld

# -- Init Containers
initContainers: []

autoscaling:
# -- Enable autoscaling for the querier
enabled: false
Expand Down Expand Up @@ -860,6 +873,10 @@ queryFrontend:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld

# -- Init Containers
initContainers: []

config:
# -- Maximum number of outstanding requests per tenant per frontend; requests beyond this error with HTTP 429.
max_outstanding_per_tenant: 2000
Expand Down Expand Up @@ -1584,6 +1601,9 @@ memcached:
tag: 1.6.33-alpine
# -- Memcached Docker image pull policy
pullPolicy: IfNotPresent
# -- Init Containers
initContainers: []

host: memcached
# Number of replicas for memchached
replicas: 1
Expand Down

0 comments on commit 812d103

Please sign in to comment.