diff --git a/cinder/templates/pdb-api.yaml b/cinder/templates/pdb-api.yaml new file mode 100644 index 0000000000..5a36bf5d24 --- /dev/null +++ b/cinder/templates/pdb-api.yaml @@ -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 \ No newline at end of file diff --git a/cinder/values.yaml b/cinder/values.yaml index fa6a7002de..e6e28871af 100644 --- a/cinder/values.yaml +++ b/cinder/values.yaml @@ -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"