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

[Feature Request] Support Manage Multi RocketMQ cluster #176

Open
drivebyer opened this issue Sep 3, 2023 · 2 comments
Open

[Feature Request] Support Manage Multi RocketMQ cluster #176

drivebyer opened this issue Sep 3, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@drivebyer
Copy link
Contributor

drivebyer commented Sep 3, 2023

Please describe the feature you are requesting.

I propose the enhancement of the current operator to support the management of multiple RocketMQ clusters by a single operator.

Provide any additional detail on your proposed use case for this feature.

GroupNum = 0
// NameServersStr is the name server list
NameServersStr = ""
// IsNameServersStrUpdated is whether the name server list is updated
IsNameServersStrUpdated = false
// IsNameServersStrInitialized is whether the name server list is initialized
IsNameServersStrInitialized = false
// BrokerClusterName is the broker cluster name
BrokerClusterName = ""
// svc of controller for brokers
ControllerAccessPoint = ""

Given the code above, our operator can only manage one RocketMQ cluster at a time (one nameservice deployment and one broker cluster). In a multi-tenant Kubernetes usage scenario, users may want to deploy multiple RocketMQ clusters in different namespaces.

Are you currently using any workarounds to address this issue?

One potential workaround might be to deploy one operator with one RocketMQ cluster in a single namespace. However, this is not a very efficient strategy in a Kubernetes environment.

If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

@drivebyer
Copy link
Contributor Author

@caigy PTAL

@caigy caigy added the enhancement New feature or request label Sep 15, 2023
@caigy
Copy link
Contributor

caigy commented Sep 15, 2023

Good proposal. Some tips:

  • the name of RocketMQ cluster should be added in CRDs and the relationship between RocketMQ clusters and CRs need to be maintained;
  • After v4.9.4(included), the brokers and controllers can lookup the IPs from domain name of the name server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants