Skip to content

Commit 9400bf3

Browse files
Merge branch 'main' into mburgos/Adding_commonLabels_to_tempo-distributed
2 parents 1d3c0ad + 8e94633 commit 9400bf3

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

charts/tempo-distributed/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ The memcached default args are removed and should be provided manually. The sett
355355
| compactor.replicas | int | `1` | Number of replicas for the compactor |
356356
| compactor.resources | object | `{}` | Resource requests and limits for the compactor |
357357
| compactor.service.annotations | object | `{}` | Annotations for compactor service |
358+
| compactor.strategy.rollingUpdate.maxSurge | int | `0` | |
359+
| compactor.strategy.rollingUpdate.maxUnavailable | int | `1` | |
358360
| compactor.terminationGracePeriodSeconds | int | `30` | Grace period to allow the compactor to shutdown before it is killed |
359361
| compactor.tolerations | list | `[]` | Tolerations for compactor pods |
360362
| config | string | See values.yaml | Config file contents for Tempo distributed. Passed through the `tpl` function to allow templating |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ spec:
1919
selector:
2020
matchLabels:
2121
{{- include "tempo.selectorLabels" $dict | nindent 6 }}
22+
{{- with .Values.compactor.strategy }}
2223
strategy:
23-
rollingUpdate:
24-
maxSurge: 0
25-
maxUnavailable: 1
24+
{{- toYaml . | nindent 4 }}
25+
{{- end }}
2626
template:
2727
metadata:
2828
labels:

charts/tempo-distributed/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,11 @@ compactor:
669669
replicas: 1
670670
# -- Annotations for compactor deployment
671671
annotations: {}
672-
672+
# Strategy of updating pods
673+
strategy:
674+
rollingUpdate:
675+
maxSurge: 0
676+
maxUnavailable: 1
673677
# -- Autoscaling configurations
674678
autoscaling:
675679
# -- Enable autoscaling for the compactor

0 commit comments

Comments
 (0)