aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml
diff options
context:
space:
mode:
authorMatthieu Cauffiez <matthieu.cauffiez@bell.ca>2019-03-12 11:32:43 -0400
committerMatthieu Cauffiez <matthieu.cauffiez@bell.ca>2019-03-12 17:35:34 +0000
commitaaed660206bb111730c4f918eee1666828cc91ff (patch)
treefdc58de32120cb748a138755b19eb7ae148adf88 /kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml
parentc4b0b79045a56050f2ed0eee8f13237a90815c3c (diff)
zookeeper quorom wont be maintained
if the number of zookeeper server is more than 5 the quorom wont be maintained Need to do (replicat count -1)/2 Issue-ID: DMAAP-1088 Change-Id: If30887e90556e75af1551ebda8811d82f6ae8a2f Signed-off-by: Matthieu Cauffiez <matthieu.cauffiez@bell.ca>
Diffstat (limited to 'kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml')
-rw-r--r--kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml b/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml
index 5c2db8c1e4..2d251e90b0 100644
--- a/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml
+++ b/kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml
@@ -25,4 +25,4 @@ spec:
selector:
matchLabels:
app: {{ include "common.name" . }}
- maxUnavailable: 1
+ maxUnavailable: {{ div (sub .Values.replicaCount 1) 2 }}