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
This commit is contained in:
Larry Rensing 2017-05-18 15:59:53 +00:00
parent 9e3486380f
commit a1e76e9b3c
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: cinder-api
spec:
minAvailable: {{ .Values.pod_disruption_budget.api.min_available }}
selector:
matchLabels:
app: cinder-api

View File

@ -45,6 +45,10 @@ upgrades:
max_unavailable: 1
max_surge: 3
pod_disruption_budget:
api:
min_available: 1
keystone:
admin_user: "admin"
admin_user_domain: "default"