Adding pod disruption budget for mariadb

This PS adds pod disruption budgets for mariadb

Change-Id: I6ca698c15ec6693dd001183220e619e305f2732c
This commit is contained in:
Larry Rensing 2017-05-18 15:13:56 +00:00
parent 9e3486380f
commit bcdb673e49
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

@ -30,6 +30,10 @@ development:
enabled: false
storage_path: /var/lib/localkube/openstack-helm/mariadb
pod_disruption_budget:
mariadb:
min_available: 0
resources:
enabled: false
api: