poddisruptionbudget-compactor.yaml 444 Bytes
{{- if gt (int .Values.compactor.replicas) 1 }}
{{ $dict := dict "ctx" . "component" "compactor" "memberlist" true }}
apiVersion: {{ include "tempo.pdb.apiVersion" . }}
kind: PodDisruptionBudget
metadata:
  name: {{ include "tempo.resourceName" $dict }}
  labels:
    {{- include "tempo.labels" $dict | nindent 4 }}
spec:
  selector:
    matchLabels:
      {{- include "tempo.selectorLabels" $dict | nindent 6 }}
  maxUnavailable: 1
{{- end }}