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
This commit is contained in:
Larry Rensing 2017-05-18 17:03:03 +00:00
parent b7f22c35a7
commit 76cdacbecd
2 changed files with 13 additions and 0 deletions

View File

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

View File

@ -44,6 +44,10 @@ upgrades:
max_unavailable: 1
max_surge: 3
pod_disruption_budget:
api:
min_available: 1
keystone_secrets:
admin: "magnum-env-keystone-admin"
user: "magnum-env-keystone-user"