Merge pull request #345 from avestuk/podDisruptionBudget

Add pod disruption budget
This commit is contained in:
Faizan Ahmad
2022-10-10 12:50:26 +02:00
committed by GitHub
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,11 @@
{{- if .Values.reloader.podDisruptionBudget.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "reloader-fullname" . }}
spec:
minAvailable: {{ .Values.reloader.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app: {{ template "reloader-fullname" . }}
{{- end }}
@@ -156,3 +156,8 @@ reloader:
# labels:
# Set timeout for scrape
# timeout: 10s
podDisruptionBudget:
enabled: false
# Set the minimum available replicas
# minAvailable: 1