Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for admin port on ZooKeeper #550

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

liamgib
Copy link
Contributor

@liamgib liamgib commented Nov 18, 2024

Fixes #549

Motivation

We need to be able to access the ZooKeeper admin endpoint to perform automated snapshots to an external system.

Modifications

I have added the admin port to the list of Zookeeper ports, and made the relevant changes on the zookeeper-service.yaml & zookeeper-statefulset.yaml to use the admin port.

Verifying this change

  • Make sure that the change passes the CI checks.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liamgib Thanks for the contribution! Are there security implications of exposing the admin port by default?

@liamgib
Copy link
Contributor Author

liamgib commented Nov 20, 2024

Good point @lhotari, there is some security implications. Especially for existing clusters, where they might not be expecting the admin port being exposed.

I'll update the PR to make the field optional, and removed by default.

@liamgib liamgib requested a review from lhotari November 20, 2024 00:25
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari lhotari merged commit 17b739d into apache:master Nov 20, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to access ZooKeeper admin port
2 participants