Skip to content

Commit

Permalink
Merge pull request #3073 from zalegrala/tempoDistributedInitContainer…
Browse files Browse the repository at this point in the history
…sSts

[tempo-distributed] add initContainers to generator and ingester STS
  • Loading branch information
zalegrala committed Apr 19, 2024
2 parents ceb3879 + 12b2e50 commit a5a4289
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.9.2
version: 1.9.3
appVersion: 2.4.1
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
4 changes: 3 additions & 1 deletion charts/tempo-distributed/README.md
@@ -1,6 +1,6 @@
# tempo-distributed

![Version: 1.9.2](https://img.shields.io/badge/Version-1.9.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.1](https://img.shields.io/badge/AppVersion-2.4.1-informational?style=flat-square)
![Version: 1.9.3](https://img.shields.io/badge/Version-1.9.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.4.1](https://img.shields.io/badge/AppVersion-2.4.1-informational?style=flat-square)

Grafana Tempo in MicroService mode

Expand Down Expand Up @@ -494,6 +494,7 @@ The memcached default args are removed and should be provided manually. The sett
| ingester.image.registry | string | `nil` | The Docker registry for the ingester image. Overrides `tempo.image.registry` |
| ingester.image.repository | string | `nil` | Docker image repository for the ingester image. Overrides `tempo.image.repository` |
| ingester.image.tag | string | `nil` | Docker image tag for the ingester image. Overrides `tempo.image.tag` |
| ingester.initContainers | list | `[]` | |
| ingester.nodeSelector | object | `{}` | Node selector for ingester pods |
| ingester.persistence.annotations | object | `{}` | Annotations for ingester's persist volume claim |
| ingester.persistence.enabled | bool | `false` | Enable creating PVCs which is required when using boltdb-shipper |
Expand Down Expand Up @@ -591,6 +592,7 @@ The memcached default args are removed and should be provided manually. The sett
| metricsGenerator.image.registry | string | `nil` | The Docker registry for the metrics-generator image. Overrides `tempo.image.registry` |
| metricsGenerator.image.repository | string | `nil` | Docker image repository for the metrics-generator image. Overrides `tempo.image.repository` |
| metricsGenerator.image.tag | string | `nil` | Docker image tag for the metrics-generator image. Overrides `tempo.image.tag` |
| metricsGenerator.initContainers | list | `[]` | |
| metricsGenerator.kind | string | `"Deployment"` | Kind of deployment [StatefulSet/Deployment] |
| metricsGenerator.nodeSelector | object | `{}` | Node selector for metrics-generator pods |
| metricsGenerator.persistence | object | `{"annotations":{},"enabled":false,"size":"10Gi","storageClass":null}` | Persistence configuration for metrics-generator |
Expand Down
Expand Up @@ -55,6 +55,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.ingester.initContainers | nindent 8 }}
containers:
- args:
- -target=ingester
Expand Down
Expand Up @@ -55,6 +55,8 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
{{- toYaml .Values.metricsGenerator.initContainers | nindent 8 }}
containers:
- args:
- -target=metrics-generator
Expand Down
2 changes: 2 additions & 0 deletions charts/tempo-distributed/values.yaml
Expand Up @@ -112,6 +112,7 @@ ingester:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
initContainers: []
autoscaling:
# -- Enable autoscaling for the ingester. WARNING: Autoscaling ingesters can result in lost data. Only do this if you know what you're doing.
enabled: false
Expand Down Expand Up @@ -239,6 +240,7 @@ metricsGenerator:
# - ip: 1.2.3.4
# hostnames:
# - domain.tld
initContainers: []
image:
# -- The Docker registry for the metrics-generator image. Overrides `tempo.image.registry`
registry: null
Expand Down

0 comments on commit a5a4289

Please sign in to comment.