Adding pod disruption budget for senlin

This PS adds a default pod disruption budget for senlin-api

Change-Id: I41448b9b45bbbee356839919c9dfcd9e7c3d40b7
This commit is contained in:
Larry Rensing 2017-05-18 19:47:29 +00:00
parent b7f22c35a7
commit e4ad30a64a
2 changed files with 13 additions and 0 deletions

View File

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

View File

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