You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/25 03:34:31 UTC

[GitHub] [pulsar-helm-chart] aspiration2017 opened a new issue #105: zookeeper can't run successful when istio enable injection sidecar

aspiration2017 opened a new issue #105:
URL: https://github.com/apache/pulsar-helm-chart/issues/105


   **Describe the bug**
   By default, Zookeeper listens on the pod IP address for communication between servers. Istio and other service meshes require 0.0.0.0 to be the address to listen on.
   There is a configuration parameter that can be used to change this default behavior: quorumListenOnAllIPs. This option allows Zookeeper to listen on all addresses. Set this parameter to true by using the following command where $ZK_CONFIG_FILE is your Zookeeper configuration file.
   
   ref: https://istio.io/latest/faq/applications/#zookeeper
   
   For workaround:
   I have to disable recovery then install pulsar by helm with default setting.
   I get the statefulset of zookeeper by: kubectl get statefulset pulsar-zookeeper -o yaml > statefulset-zk.yaml
   add: _echo "quorumListenOnAllIPs=true" >> conf/zookeeper.conf;_ to args of container -> apply to upgrade the statefulset -> delete 3 nodes zookeeper to restart.
   
   2nd way is pull the chart, hence modify the template zookeeper-statefulset.yaml of pulsar. 
   
   I wonder whether is another way to add **quorumListenOnAllIPs** to zk_config_file to install with helm?
   I tried to use configMap, but seem like it's not works.
   Thanks
   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar-helm-chart] aspiration2017 closed issue #105: add variable to conf/zookeeper.conf

Posted by GitBox <gi...@apache.org>.
aspiration2017 closed issue #105:
URL: https://github.com/apache/pulsar-helm-chart/issues/105


   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar-helm-chart] aspiration2017 commented on issue #105: add variable to conf/zookeeper.conf

Posted by GitBox <gi...@apache.org>.
aspiration2017 commented on issue #105:
URL: https://github.com/apache/pulsar-helm-chart/issues/105#issuecomment-792521696


   resolved by add variable to configMap with prefix: PULSAR_PREFIX_ 


----------------------------------------------------------------
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.

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