michalcukierman commented on issue #124:
URL: 
https://github.com/apache/pulsar-helm-chart/issues/124#issuecomment-1646547181

   We had a similar issue, it turns out that `broker-init` and `pulsar-init` 
scripts run on an image that need at least 2.5Mi of memory. If the job is run 
on a cluster node with no sufficient memory, the initialization fails and the 
cluster setup hangs.
   
   We added :
   ```
   bookkeeper:
     metadata:
       resources:
         requests:
           memory: 2.5Gi
         limits:
           memory: 2.5Gi
   ```
   
   ```
   pulsar_metadata::
     metadata:
       resources:
         requests:
           memory: 2.5Gi
         limits:
           memory: 2.5Gi
   ```
   
   To make sure that:
   1. The job is assigned to a proper node (requests)
   2. The initialization fail fast when there is no node (limits)


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

Reply via email to