You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/12/12 19:06:28 UTC

[GitHub] [pulsar] julio666 opened a new issue #5847: Error at starting apachepulsar/pulsar-dashboard docker container within Kubernetes

julio666 opened a new issue #5847: Error at starting apachepulsar/pulsar-dashboard docker container within Kubernetes
URL: https://github.com/apache/pulsar/issues/5847
 
 
   Hi there!
   
   **Issue**
   I've used the helm chart available in the 2.4.2 Apache Pulsar project. Every pod is created and running correctly except `toned-penguin-pulsar-dashboard` which has the `CrashLoopBackOff` status.
   
   It looks like the initdb file from postgresql does not exist. Here what the logs are saying :
   
   ```
   Starting Pulsar dasboard
   + /pulsar/init-postgres.sh
   + rm -rf '/data/*'
   + chown -R postgres: /data
   + chmod 700 /data
   + sudo -u postgres /usr/lib/postgresql/9.6/bin/initdb /data/
   sudo: /usr/lib/postgresql/9.6/bin/initdb: command not found
   ```
   
   **To Reproduce**
   Simply install the helm chart with values-mini.yaml and look at the pods in the pulsar namespace. To be sure, I've tried to run the container alone on my machine and I get the same error.
   
   **Expected behavior**
   I would expect Pulsar Dashboard to run properly :)
   
   **Cluster Kubernetes:**
    - Server version 1.12 on linux/amd64 platform

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


With regards,
Apache Git Services