lhotari opened a new pull request #214:
URL: https://github.com/apache/pulsar-helm-chart/pull/214


   ### Motivation
   
   Run Zookeeper probes with timeout command so that the probe doesn't continue 
running indefinitely.
   
   It seems that the probe will get stuck because of 
https://issues.apache.org/jira/browse/ZOOKEEPER-3988 / 
https://github.com/apache/pulsar/issues/11070 .
   
   ### Modifications
   
   - wrap Zookeeper probe script with 
[timeout](https://www.gnu.org/software/coreutils/timeout) (included in Docker 
image, [timeout](https://www.gnu.org/software/coreutils/timeout) is part of gnu 
coreutils package)
   
   
   ### Additional context
   
   This PR resolves the issue with Kubernetes <1.20
   "Before Kubernetes 1.20, the field timeoutSeconds was not respected for exec 
probes: probes continued running indefinitely, even past their configured 
deadline, until a result was returned."
   described in 
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
   
   - #179 already fixed the issue for Kubernetes 1.20+
   


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