Adding pod disruption budget for mariadb
This PS adds pod disruption budgets for mariadb Change-Id: I6ca698c15ec6693dd001183220e619e305f2732c
This commit is contained in:
parent
9e3486380f
commit
bcdb673e49
9
mariadb/templates/pdb-mariadb.yaml
Normal file
9
mariadb/templates/pdb-mariadb.yaml
Normal 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 }}
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user