poddisruptionbudget-distributor.yaml 448 B

1234567891011121314
  1. {{- if gt (int .Values.distributor.replicas) 1 }}
  2. {{ $dict := dict "ctx" . "component" "distributor" "memberlist" true }}
  3. apiVersion: {{ include "tempo.pdb.apiVersion" . }}
  4. kind: PodDisruptionBudget
  5. metadata:
  6. name: {{ include "tempo.resourceName" $dict }}
  7. labels:
  8. {{- include "tempo.labels" $dict | nindent 4 }}
  9. spec:
  10. selector:
  11. matchLabels:
  12. {{- include "tempo.selectorLabels" $dict | nindent 6 }}
  13. maxUnavailable: 1
  14. {{- end }}