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