From aaed660206bb111730c4f918eee1666828cc91ff Mon Sep 17 00:00:00 2001 From: Matthieu Cauffiez Date: Tue, 12 Mar 2019 11:32:43 -0400 Subject: 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 --- .../charts/message-router-zookeeper/templates/poddisruptionbudget.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/dmaap/components') 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 }} -- cgit 1.2.3-korg