The heartbeat deployment has an initContainer that waits for bookkeeper to be ready. The logic to wait is a loop that curls the broker on a certain port. If enableTls is true then the loop uses the broker statefulset and attempts an https connection on port 8443. What seems odd to me, is the broker statefulset only opens ports 8080 and 6650.
Should the broker statefulset also open an additional https port?
The heartbeat deployment has an initContainer that waits for bookkeeper to be ready. The logic to wait is a loop that curls the broker on a certain port. If
enableTls
istrue
then the loop uses the broker statefulset and attempts an https connection on port 8443. What seems odd to me, is the broker statefulset only opens ports 8080 and 6650.Should the broker statefulset also open an additional https port?
Note: adding this new port opening didn't solve my issue of the heartbeat's initContainer completing successfully but this seems like a needed thing.