openstack-helm/horizon/templates/pdb.yaml
Larry Rensing 19ec762cb9 Adding pod disruption budgets to horizon
This PS adds a pod disruption budget to the horizon pod to ensure
one replica of the pod is running.

Change-Id: If366517cff3c790655aba3337ffd5a7ac10e96a5
2017-05-18 16:48:10 +00:00

9 lines
206 B
YAML

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