diff --git a/heat/templates/pdb-api.yaml b/heat/templates/pdb-api.yaml new file mode 100644 index 0000000000..6370f46bac --- /dev/null +++ b/heat/templates/pdb-api.yaml @@ -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 \ No newline at end of file diff --git a/heat/templates/pdb-cfn.yaml b/heat/templates/pdb-cfn.yaml new file mode 100644 index 0000000000..8d5c8699fb --- /dev/null +++ b/heat/templates/pdb-cfn.yaml @@ -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 \ No newline at end of file diff --git a/heat/templates/pdb-cloudwatch.yaml b/heat/templates/pdb-cloudwatch.yaml new file mode 100644 index 0000000000..39906dbb6f --- /dev/null +++ b/heat/templates/pdb-cloudwatch.yaml @@ -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 \ No newline at end of file diff --git a/heat/values.yaml b/heat/values.yaml index 26667ef105..ef6edba798 100644 --- a/heat/values.yaml +++ b/heat/values.yaml @@ -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"