Skip to content

Commit 19f01ab

Browse files
committed
fixes #2966
Signed-off-by: hkailantzis <[email protected]>
1 parent f4ea903 commit 19f01ab

File tree

10 files changed

+44
-2
lines changed

10 files changed

+44
-2
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.47.3
5+
version: 1.48.0
66
appVersion: 2.8.2
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.47.3](https://img.shields.io/badge/Version-1.47.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square)
3+
![Version: 1.48.0](https://img.shields.io/badge/Version-1.48.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -525,6 +525,10 @@ The memcached default args are removed and should be provided manually. The sett
525525
| gateway.ingress.hosts | list | `[{"host":"gateway.tempo.example.com","paths":[{"path":"/"}]}]` | Hosts configuration for the gateway ingress |
526526
| gateway.ingress.labels | object | `{}` | Labels for the gateway ingress |
527527
| gateway.ingress.tls | list | `[{"hosts":["gateway.tempo.example.com"],"secretName":"tempo-gateway-tls"}]` | TLS configuration for the gateway ingress |
528+
| gateway.livenessProbe.httpGet.path | string | `"/"` | |
529+
| gateway.livenessProbe.httpGet.port | string | `"http-metrics"` | |
530+
| gateway.livenessProbe.initialDelaySeconds | int | `30` | |
531+
| gateway.livenessProbe.timeoutSeconds | int | `5` | |
528532
| gateway.maxUnavailable | int | `1` | Pod Disruption Budget maxUnavailable |
529533
| gateway.minReadySeconds | int | `10` | Minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing/terminating |
530534
| gateway.nginxConfig.file | string | See values.yaml | Config file contents for Nginx. Passed through the `tpl` function to allow templating |
@@ -958,6 +962,10 @@ The memcached default args are removed and should be provided manually. The sett
958962
| tempo.image.registry | string | `"docker.io"` | The Docker registry |
959963
| tempo.image.repository | string | `"grafana/tempo"` | Docker image repository |
960964
| tempo.image.tag | string | `nil` | Overrides the image tag whose default is the chart's appVersion |
965+
| tempo.livenessProbe.httpGet.path | string | `"/ready"` | |
966+
| tempo.livenessProbe.httpGet.port | string | `"http-metrics"` | |
967+
| tempo.livenessProbe.initialDelaySeconds | int | `60` | |
968+
| tempo.livenessProbe.timeoutSeconds | int | `5` | |
961969
| tempo.memberlist | object | `{"appProtocol":null,"service":{"annotations":{}}}` | Memberlist service configuration. |
962970
| tempo.memberlist.appProtocol | string | `nil` | Adds the appProtocol field to the memberlist service. This allows memberlist to work with istio protocol selection. Set the optional service protocol. Ex: "tcp", "http" or "https". |
963971
| tempo.memberlist.service | object | `{"annotations":{}}` | Adds the service field to the memberlist service |

charts/tempo-distributed/templates/compactor/deployment-compactor.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ spec:
9595
{{- toYaml . | nindent 12 }}
9696
{{- end }}
9797
{{- end }}
98+
livenessProbe:
99+
{{- toYaml .Values.tempo.livenessProbe | nindent 12 }}
100+
readinessProbe:
101+
{{- toYaml .Values.tempo.readinessProbe | nindent 12 }}
98102
resources:
99103
{{- toYaml .Values.compactor.resources | nindent 12 }}
100104
{{- with .Values.tempo.securityContext }}

charts/tempo-distributed/templates/distributor/deployment-distributor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ spec:
138138
{{- toYaml . | nindent 12 }}
139139
{{- end }}
140140
{{- end }}
141+
livenessProbe:
142+
{{- toYaml .Values.tempo.livenessProbe | nindent 12 }}
141143
readinessProbe:
142144
{{- toYaml .Values.tempo.readinessProbe | nindent 12 }}
143145
resources:

charts/tempo-distributed/templates/gateway/deployment-gateway.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ spec:
8585
{{- toYaml . | nindent 12 }}
8686
{{- end }}
8787
{{- end }}
88+
livenessProbe:
89+
{{- toYaml .Values.gateway.livenessProbe | nindent 12 }}
8890
readinessProbe:
8991
{{- toYaml .Values.gateway.readinessProbe | nindent 12 }}
9092
volumeMounts:

charts/tempo-distributed/templates/ingester/statefulset-ingester.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ spec:
110110
{{- toYaml . | nindent 12 }}
111111
{{- end }}
112112
{{- end }}
113+
livenessProbe:
114+
{{- toYaml .Values.tempo.livenessProbe | nindent 12 }}
113115
readinessProbe:
114116
{{- toYaml .Values.tempo.readinessProbe | nindent 12 }}
115117
resources:

charts/tempo-distributed/templates/metrics-generator/deployment-metrics-generator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ spec:
8282
envFrom:
8383
{{- toYaml . | nindent 12 }}
8484
{{- end }}
85+
livenessProbe:
86+
{{- toYaml .Values.tempo.livenessProbe | nindent 12 }}
8587
readinessProbe:
8688
{{- toYaml .Values.tempo.readinessProbe | nindent 12 }}
8789
resources:

charts/tempo-distributed/templates/querier/deployment-querier.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ spec:
102102
securityContext:
103103
{{- toYaml . | nindent 12 }}
104104
{{- end }}
105+
{{- with .Values.tempo.livenessProbe }}
106+
livenessProbe:
107+
{{- toYaml . | nindent 12 }}
108+
{{- end }}
105109
{{- with .Values.tempo.readinessProbe }}
106110
readinessProbe:
107111
{{- toYaml . | nindent 12 }}

charts/tempo-distributed/templates/query-frontend/deployment-query-frontend.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ spec:
9292
{{- toYaml . | nindent 12 }}
9393
{{- end }}
9494
{{- end }}
95+
livenessProbe:
96+
{{- toYaml .Values.tempo.livenessProbe | nindent 12 }}
97+
readinessProbe:
98+
{{- toYaml .Values.tempo.readinessProbe | nindent 12 }}
99+
resources:
95100
resources:
96101
{{- toYaml .Values.queryFrontend.resources | nindent 12 }}
97102
{{- with .Values.tempo.securityContext }}

charts/tempo-distributed/values.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ tempo:
6464
# -- Overrides the image tag whose default is the chart's appVersion
6565
tag: null
6666
pullPolicy: IfNotPresent
67+
livenessProbe:
68+
httpGet:
69+
path: /ready
70+
port: http-metrics
71+
initialDelaySeconds: 60
72+
timeoutSeconds: 5
6773
readinessProbe:
6874
httpGet:
6975
path: /ready
@@ -2092,6 +2098,13 @@ gateway:
20922098
{{ htpasswd (required "'gateway.basicAuth.username' is required" .Values.gateway.basicAuth.username) (required "'gateway.basicAuth.password' is required" .Values.gateway.basicAuth.password) }}
20932099
# -- Existing basic auth secret to use. Must contain '.htpasswd'
20942100
existingSecret: null
2101+
# Configures the liveness probe for the gateway
2102+
livenessProbe:
2103+
httpGet:
2104+
path: /
2105+
port: http-metrics
2106+
initialDelaySeconds: 30
2107+
timeoutSeconds: 5
20952108
# Configures the readiness probe for the gateway
20962109
readinessProbe:
20972110
httpGet:

0 commit comments

Comments
 (0)