Merge "Adding pod disruption budgets for heat"

This commit is contained in:
Jenkins 2017-05-23 12:04:20 +00:00 committed by Gerrit Code Review
commit ef6657deab
4 changed files with 35 additions and 0 deletions

View File

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

View File

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

View File

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

View File

@ -48,6 +48,14 @@ upgrades:
max_unavailable: 1
max_surge: 3
pod_disruption_budget:
api:
min_available: 1
cfn:
min_available: 1
cloudwatch:
min_available: 1
keystone_secrets:
admin: "heat-env-keystone-admin"
user: "heat-env-keystone-user"