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