rdhabalia opened a new pull request, #269:
URL: https://github.com/apache/pulsar-helm-chart/pull/269

   Fixes #268
   
   ### Motivation
   Right now, [chart 
dynamically](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/zookeeper-statefulset.yaml#L140)
 creates zk cluster with zk pods initialized in the same namespace. However, 
for global/configuration zookeeper, user requires to build zk clusters with 
pods deployed in different namespaces. Therefore, user needs a mechanism to 
pass an external list of zk-servers to the chart and build zk-cluster with pods 
across different namespaces.
   
   ### Modification
   - Chart should be considering zk-value's configuration for external 
zookeeper and generate zk-configuration file with appropriate zk-server list 
and unique id of that zookeeper.
   
   This PR sets `ZOOKEEPER_SERVERS` value provided by user and also sets 
override-value flag which will be used by 
[generate-zookeeper-config.sh](https://github.com/apache/pulsar/blob/master/docker/pulsar/scripts/generate-zookeeper-config.sh)
 to override external zk list in config file and assign appropriate id to the 
host.
   
   
   ### Result
   - User can add `ZOOKEEPER_SERVERS` string into `zookeeper.configData` in 
[Values.yaml](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/values.yaml#L385)
 file to override external zk-server list.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to