Merge "Add pod disruption budget for neutron"
This commit is contained in:
commit
89b4ae24e1
9
neutron/templates/pdb-server.yaml
Normal file
9
neutron/templates/pdb-server.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: policy/v1beta1
|
||||||
|
kind: PodDisruptionBudget
|
||||||
|
metadata:
|
||||||
|
name: neutron-server
|
||||||
|
spec:
|
||||||
|
minAvailable: {{ .Values.pod_disruption_budget.server.min_available }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: neutron-server
|
@ -43,6 +43,10 @@ upgrades:
|
|||||||
max_unavailable: 1
|
max_unavailable: 1
|
||||||
max_surge: 3
|
max_surge: 3
|
||||||
|
|
||||||
|
pod_disruption_budget:
|
||||||
|
server:
|
||||||
|
min_available: 0
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
# ovs is a special case, requiring a special
|
# ovs is a special case, requiring a special
|
||||||
# label that can apply to both control hosts
|
# label that can apply to both control hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user