diff options
author | Matthieu Cauffiez <matthieu.cauffiez@bell.ca> | 2019-03-12 11:32:43 -0400 |
---|---|---|
committer | Matthieu Cauffiez <matthieu.cauffiez@bell.ca> | 2019-03-12 17:35:34 +0000 |
commit | aaed660206bb111730c4f918eee1666828cc91ff (patch) | |
tree | fdc58de32120cb748a138755b19eb7ae148adf88 /kubernetes/dmaap/components/message-router/charts/message-router-zookeeper | |
parent | c4b0b79045a56050f2ed0eee8f13237a90815c3c (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')
-rw-r--r-- | kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/poddisruptionbudget.yaml | 2 |
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 }} |