Skip to content

Commit d86c20e

Browse files
Merge pull request #3528 from mkutlak/mkutlak-tempo-revision-history
[tempo-distributed] Add config option for revision history limit
2 parents dcb8e0e + 5ba1d44 commit d86c20e

File tree

11 files changed

+13
-10
lines changed

11 files changed

+13
-10
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.39.0
5+
version: 1.39.1
66
appVersion: 2.7.1
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

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

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

55
Grafana Tempo in MicroService mode
66

@@ -936,6 +936,7 @@ The memcached default args are removed and should be provided manually. The sett
936936
| tempo.readinessProbe.httpGet.port | string | `"http-metrics"` | |
937937
| tempo.readinessProbe.initialDelaySeconds | int | `30` | |
938938
| tempo.readinessProbe.timeoutSeconds | int | `1` | |
939+
| tempo.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain to allow rollback |
939940
| tempo.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}` | SecurityContext holds container-level security attributes and common container settings |
940941
| tempo.service.ipFamilies | list | `["IPv4"]` | Configure the IP families for all tempo services See the Service spec for details: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#servicespec-v1-core |
941942
| tempo.service.ipFamilyPolicy | string | `"SingleStack"` | Configure the IP family policy for all tempo services. SingleStack, PreferDualStack or RequireDualStack |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
spec:
1414
minReadySeconds: {{ .Values.compactor.minReadySeconds }}
1515
replicas: {{ .Values.compactor.replicas }}
16-
revisionHistoryLimit: 10
16+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1717
selector:
1818
matchLabels:
1919
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
{{- if not .Values.distributor.autoscaling.enabled }}
1616
replicas: {{ .Values.distributor.replicas }}
1717
{{- end }}
18-
revisionHistoryLimit: 10
18+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1919
selector:
2020
matchLabels:
2121
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

charts/tempo-distributed/templates/enterprise-federation-frontend/deployment-federation-frontend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
{{- if not .Values.enterpriseFederationFrontend.autoscaling.enabled }}
1717
replicas: {{ .Values.enterpriseFederationFrontend.replicas }}
1818
{{- end }}
19-
revisionHistoryLimit: 10
19+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
2020
selector:
2121
matchLabels:
2222
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
{{- if not .Values.gateway.autoscaling.enabled }}
1717
replicas: {{ .Values.gateway.replicas }}
1818
{{- end }}
19-
revisionHistoryLimit: 10
19+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
2020
selector:
2121
matchLabels:
2222
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
spec:
1515
minReadySeconds: {{ .Values.metricsGenerator.minReadySeconds }}
1616
replicas: {{ .Values.metricsGenerator.replicas }}
17-
revisionHistoryLimit: 10
17+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1818
selector:
1919
matchLabels:
2020
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
spec:
1717
minReadySeconds: {{ .Values.metricsGenerator.minReadySeconds }}
1818
replicas: {{ .Values.metricsGenerator.replicas }}
19-
revisionHistoryLimit: 10
19+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
2020
podManagementPolicy: Parallel
2121
updateStrategy:
2222
rollingUpdate:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
{{- if not .Values.querier.autoscaling.enabled }}
1616
replicas: {{ .Values.querier.replicas }}
1717
{{- end }}
18-
revisionHistoryLimit: 10
18+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1919
selector:
2020
matchLabels:
2121
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
{{- if not .Values.queryFrontend.autoscaling.enabled }}
1616
replicas: {{ .Values.queryFrontend.replicas }}
1717
{{- end }}
18-
revisionHistoryLimit: 10
18+
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1919
selector:
2020
matchLabels:
2121
{{- include "tempo.selectorLabels" $dict | nindent 6 }}

0 commit comments

Comments
 (0)