diff --git a/charts/tempo-distributed/templates/compactor/deployment-compactor.yaml b/charts/tempo-distributed/templates/compactor/deployment-compactor.yaml index 37f5342204..938018afb0 100644 --- a/charts/tempo-distributed/templates/compactor/deployment-compactor.yaml +++ b/charts/tempo-distributed/templates/compactor/deployment-compactor.yaml @@ -54,6 +54,8 @@ spec: hostAliases: {{- toYaml . | nindent 8 }} {{- end }} + initContainers: + {{- toYaml .Values.compactor.initContainers | nindent 8 }} containers: - args: - -target=compactor diff --git a/charts/tempo-distributed/templates/distributor/deployment-distributor.yaml b/charts/tempo-distributed/templates/distributor/deployment-distributor.yaml index c7495b3832..fbeb1c445f 100644 --- a/charts/tempo-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/tempo-distributed/templates/distributor/deployment-distributor.yaml @@ -52,6 +52,8 @@ spec: hostAliases: {{- toYaml . | nindent 8 }} {{- end }} + initContainers: + {{- toYaml .Values.distributor.initContainers | nindent 8 }} containers: - args: - -target=distributor diff --git a/charts/tempo-distributed/templates/memcached/statefulset-memcached.yaml b/charts/tempo-distributed/templates/memcached/statefulset-memcached.yaml index 6027dfea8b..7650e7647e 100644 --- a/charts/tempo-distributed/templates/memcached/statefulset-memcached.yaml +++ b/charts/tempo-distributed/templates/memcached/statefulset-memcached.yaml @@ -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 }} diff --git a/charts/tempo-distributed/templates/metrics-generator/deployment-metrics-generator.yaml b/charts/tempo-distributed/templates/metrics-generator/deployment-metrics-generator.yaml index 55c7094ea1..a705b7517d 100644 --- a/charts/tempo-distributed/templates/metrics-generator/deployment-metrics-generator.yaml +++ b/charts/tempo-distributed/templates/metrics-generator/deployment-metrics-generator.yaml @@ -51,6 +51,8 @@ spec: hostAliases: {{- toYaml . | nindent 8 }} {{- end }} + initContainers: + {{- toYaml .Values.metricsGenerator.initContainers | nindent 8 }} containers: - args: - -target=metrics-generator diff --git a/charts/tempo-distributed/templates/querier/deployment-querier.yaml b/charts/tempo-distributed/templates/querier/deployment-querier.yaml index 8412589860..6d7c411780 100644 --- a/charts/tempo-distributed/templates/querier/deployment-querier.yaml +++ b/charts/tempo-distributed/templates/querier/deployment-querier.yaml @@ -56,6 +56,8 @@ spec: hostAliases: {{- toYaml . | nindent 8 }} {{- end }} + initContainers: + {{- toYaml .Values.querier.initContainers | nindent 8 }} containers: - args: - -target=querier diff --git a/charts/tempo-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/tempo-distributed/templates/query-frontend/deployment-query-frontend.yaml index 01f05b21cf..9228672cfe 100644 --- a/charts/tempo-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/tempo-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -56,6 +56,8 @@ spec: hostAliases: {{- toYaml . | nindent 8 }} {{- end }} + initContainers: + {{- toYaml .Values.queryFrontend.initContainers | nindent 8 }} containers: - args: - -target=query-frontend diff --git a/charts/tempo-distributed/values.yaml b/charts/tempo-distributed/values.yaml index 9d9bdde4b8..0c1735adfa 100755 --- a/charts/tempo-distributed/values.yaml +++ b/charts/tempo-distributed/values.yaml @@ -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` @@ -469,6 +470,10 @@ distributor: # - ip: 1.2.3.4 # hostnames: # - domain.tld + + # -- Init Containers + initContainers: [] + autoscaling: # -- Enable autoscaling for the distributor enabled: false @@ -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 @@ -717,6 +726,10 @@ querier: # - ip: 1.2.3.4 # hostnames: # - domain.tld + + # -- Init Containers + initContainers: [] + autoscaling: # -- Enable autoscaling for the querier enabled: false @@ -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 @@ -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