openstack-helm/mistral/templates/pdb-api.yaml
Larry Rensing 01a015832d Adding pod disruption budget for mistral
This PS adds a default pod disruption budget for mistral-api
to ensure at least one replica is running.

Change-Id: I45d89cacc15a41f9eb3663dfd1f250be1567c3c0
2017-05-18 17:18:37 +00:00

9 lines
210 B
YAML

apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: mistral-api
spec:
minAvailable: {{ .Values.pod_disruption_budget.api.min_available }}
selector:
matchLabels:
app: mistral-api