michaeljmarshall commented on issue #8770:
URL: https://github.com/apache/pulsar/issues/8770#issuecomment-736749343


   @lhotari - thanks for your quick comment. You're right that the issue was 
with my deployment, and that by changing `bin/pulsar bookie` to `exec 
bin/pulsar bookie`, the sigterm is properly handled by the component process.
   
   In case anyone else runs across this, I started with this:
   
   ```yaml
       spec:
         containers:
         - args:
           - bin/apply-config-from-env.py conf/broker.conf && 
bin/apply-config-from-env.py
             conf/pulsar_env.sh && bin/gen-yml-from-env.py 
conf/functions_worker.yml
             && bin/pulsar broker
           command:
           - sh
           - -c
   ```
   
   and changed it to this:
   
   ```yaml
       spec:
         containers:
         - args:
           - bin/apply-config-from-env.py conf/broker.conf && 
bin/apply-config-from-env.py
             conf/pulsar_env.sh && bin/gen-yml-from-env.py 
conf/functions_worker.yml
             && exec bin/pulsar broker
           command:
           - sh
           - -c
   ```
   
   and now it works.


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


Reply via email to