-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[incubator/zookeeper] Allow quorumListenOnAllIPs to be configurable #17183
Comments
…elm#17183 * Add env.ZK_QUORUM_LISTEN_ALL_IP to values file * Append quorumListenOnAllIPs directive to zoo.cfg Signed-off-by: Jack Forester <[email protected]>
…elm#17183 Remove trailing spaces in values.yaml Signed-off-by: Jack Forester <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
/remove-lifecycle stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
/remove-lifecycle stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
/remove-lifecycle stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
/remove-lifecycle stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Is your feature request related to a problem? Please describe.
When quorumListenOnAllIPs is set to "false" (the default value), Zookeeper binds to only the pod IP address and not 0.0.0.0. This causes problems when using Istio as the proxy sidecar wants to forward packets to the localhost address which is not listening on port 3888, resulting in "connection refused" errors. The end result is that the Zookeeper nodes are unable to elect a leader and the ensemble never starts.
When quorumListenOnAllIPs is set to "true", Zookeeper binds to 0.0.0.0 and the Istio proxy sidecar is able to forward packets to Zookeeper.
Describe the solution you'd like
I would like a new environment value (env.ZK_QUORUM_LISTEN_ALL_IP) added to the values file that would allow quorumListenOnAllIPs to be enabled. The config-script.yaml file would append the directive to the zoo.cfg file. The default value would be "false" to maintain compatibility with previous behavior.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I've already made and tested this change locally
The text was updated successfully, but these errors were encountered: