roman-popenov commented on issue #5994: k8s/EKS some Proxies fail to get Broker 
info from Zookeeper
URL: https://github.com/apache/pulsar/issues/5994#issuecomment-579037455
 
 
   I have tried the following work-around in the helm template 
`pulsar-manager-deployment.yaml` file, and it does seem to be working:
   
   ```bash
           # This init container will wait for brokers to be ready before
           # deploying the proxies
         - name: wait-broker-ready
           image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
           imagePullPolicy: {{ .Values.image.pullPolicy }}
           command: ["bash", "-c"]
           args:
             - >-
               for i in {0..{{ .Values.broker.replicaCount }}}; do
                 if [[ `nslookup {{ template "pulsar.fullname" . }}-{{ 
.Values.broker.component }} | grep Name | wc -l` -ge {{ 
.Values.broker.replicaCount }} ]]; then
                   break
                 fi
                 sleep 30;
               done;
   ```
   
   Anyone has suggestions as to how this can be improved?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to