Merge "Adding pod disruption budget for mariadb"

This commit is contained in:
Jenkins 2017-06-12 13:52:32 +00:00 committed by Gerrit Code Review
commit 3b6dec1364
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ .Values.service_name }}
spec:
minAvailable: {{ .Values.pod_disruption_budget.mariadb.min_available }}
selector:
matchLabels:
app: {{ .Values.service_name }}

View File

@ -16,6 +16,10 @@ replicas: 3
force_bootstrap: false
pod_disruption_budget:
mariadb:
min_available: 0
resources:
enabled: false
api: