kafkaesque-io / pulsar-helm-chart

Helm Chart for an Apache Pulsar Cluster
https://helm.kafkaesque.io
Apache License 2.0
31 stars 22 forks source link

add initContainer for pulsar-monitor #77

Closed zzzming closed 4 years ago

zzzming commented 4 years ago

Add an initContainer to pulsar-monitor that depends on the broker, the broker admin url 8080, to be up. It prevents premature alerting. Pulsar Monitor container does not start until the broker admin url is ready.

In the case broker is unavailable, restarting pulsar-monitor will be stuck in initContainer to wait until the broker is ready. Therefore, user can still be alerted by Pulsar Monitor's heartbeat mis-filing.

initContainer dependency can be skipped by disabling `.Values.pulsarMonitor.enableWaitContainer"