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

Change-Id: Idaff44d28960f4fe62a911758d3d75de1ad2cb85
2017-05-18 17:04:40 +00:00

9 lines
208 B
YAML

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