sgowda97 commented on issue #672:
URL: https://github.com/apache/solr-operator/issues/672#issuecomment-2021943753

   @HoustonPutman Yes, happens only for the first time. As a workaround, I 
added the following code to my solr-cloud yaml, it temporarily fixed the issue.
   
   ```
   initContainers: # fix for 
https://github.com/apache/solr-operator/issues/672#issue-2063779008
         - command:
           - sh
           - -c
           - "host=$(printenv | grep ZOOKEEPER_CLIENT_SERVICE_HOST | cut -d= 
-f2); until echo 'stat' | nc $host 2181 | grep Zookeeper; do echo waiting for 
zookeeper; sleep 2; done;"
           image: library/busybox:1.28.0-glibc
           imagePullPolicy: IfNotPresent
           name: verify-zookeeper-before-solr
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to