File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff 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 |
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments