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

Change-Id: I8f1fc41dc527d16cf1099de51e36d8b7f7ae9ba8
2017-05-18 15:59:53 +00:00

9 lines
208 B
YAML

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