Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tempo-distributed] Add config option for revision history limit #3528

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ The memcached default args are removed and should be provided manually. The sett
| tempo.readinessProbe.httpGet.port | string | `"http-metrics"` | |
| tempo.readinessProbe.initialDelaySeconds | int | `30` | |
| tempo.readinessProbe.timeoutSeconds | int | `1` | |
| tempo.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain to allow rollback |
| 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 |
| 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 |
| tempo.service.ipFamilyPolicy | string | `"SingleStack"` | Configure the IP family policy for all tempo services. SingleStack, PreferDualStack or RequireDualStack |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
spec:
minReadySeconds: 10
replicas: {{ .Values.compactor.replicas }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
{{- if not .Values.distributor.autoscaling.enabled }}
replicas: {{ .Values.distributor.replicas }}
{{- end }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
{{- if not .Values.enterpriseFederationFrontend.autoscaling.enabled }}
replicas: {{ .Values.enterpriseFederationFrontend.replicas }}
{{- end }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
{{- if not .Values.gateway.autoscaling.enabled }}
replicas: {{ .Values.gateway.replicas }}
{{- end }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
spec:
minReadySeconds: 10
replicas: {{ .Values.metricsGenerator.replicas }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
spec:
minReadySeconds: 10
replicas: {{ .Values.metricsGenerator.replicas }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
podManagementPolicy: Parallel
updateStrategy:
rollingUpdate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
{{- if not .Values.querier.autoscaling.enabled }}
replicas: {{ .Values.querier.replicas }}
{{- end }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
{{- if not .Values.queryFrontend.autoscaling.enabled }}
replicas: {{ .Values.queryFrontend.replicas }}
{{- end }}
revisionHistoryLimit: 10
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/tempo-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ tempo:
podLabels: {}
# -- Common annotations for all pods
podAnnotations: {}
# -- The number of old ReplicaSets to retain to allow rollback
revisionHistoryLimit: 10
# -- SecurityContext holds container-level security attributes and common container settings
securityContext:
runAsNonRoot: true
Expand Down
Loading