openstack-helm/glance/templates/pdb-registry.yaml
Larry Rensing 3067a60468 Adding pod disruption budget for glance
This PS adds a default pod disruption budget for glance-api and
glance-registry to ensure at least one replica of each is running.

Change-Id: I06364bc2bb816fd4877353857b1adfb13a35a0a7
2017-05-18 16:20:22 +00:00

9 lines
223 B
YAML

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