clearml-helm-charts/dependency_charts/elasticsearch/templates/poddisruptionbudget.yaml

13 lines
293 B
YAML
Raw Normal View History

---
{{- if .Values.maxUnavailable }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: "{{ template "elasticsearch.uname" . }}-pdb"
spec:
maxUnavailable: {{ .Values.maxUnavailable }}
selector:
matchLabels:
app: "{{ template "elasticsearch.uname" . }}"
{{- end }}