Adding pod disruption budget for mistral
This PS adds a default pod disruption budget for mistral-api to ensure at least one replica is running. Change-Id: I45d89cacc15a41f9eb3663dfd1f250be1567c3c0
This commit is contained in:
parent
b7f22c35a7
commit
01a015832d
9
mistral/templates/pdb-api.yaml
Normal file
9
mistral/templates/pdb-api.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: mistral-api
|
||||
spec:
|
||||
minAvailable: {{ .Values.pod_disruption_budget.api.min_available }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mistral-api
|
@ -48,6 +48,10 @@ upgrades:
|
||||
max_unavailable: 1
|
||||
max_surge: 3
|
||||
|
||||
pod_disruption_budget:
|
||||
api:
|
||||
min_available: 1
|
||||
|
||||
keystone_secrets:
|
||||
admin: "mistral-env-keystone-admin"
|
||||
user: "mistral-env-keystone-user"
|
||||
|
Loading…
Reference in New Issue
Block a user