Add pod disruption budget for cinder
This PS adds a default pod disruption budget for cinder-api to ensure at least one replica is running. Change-Id: I8f1fc41dc527d16cf1099de51e36d8b7f7ae9ba8
This commit is contained in:
parent
9e3486380f
commit
a1e76e9b3c
9
cinder/templates/pdb-api.yaml
Normal file
9
cinder/templates/pdb-api.yaml
Normal file
@ -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
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user