Merge "Adding pod disruption budget for mariadb"
This commit is contained in:
commit
3b6dec1364
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 }}
|
@ -16,6 +16,10 @@ replicas: 3
|
||||
|
||||
force_bootstrap: false
|
||||
|
||||
pod_disruption_budget:
|
||||
mariadb:
|
||||
min_available: 0
|
||||
|
||||
resources:
|
||||
enabled: false
|
||||
api:
|
||||
|
Loading…
x
Reference in New Issue
Block a user