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

是否需要单独部署controller #149

Open
wokwong opened this issue Jan 29, 2023 · 4 comments
Open

是否需要单独部署controller #149

wokwong opened this issue Jan 29, 2023 · 4 comments

Comments

@wokwong
Copy link

wokwong commented Jan 29, 2023

提问:
在rocketmq-operator README.md 中没有介绍是否需要部署controller ,是否需要单独部署呢?谢谢

@caigy
Copy link
Contributor

caigy commented Jan 31, 2023

It depends on the way to organizing the broker cluster:

  • By default, broker roles in a cluster are static, and Controller is unnecessary.
  • If broker roles can be switched dynamically (ONLY supported in RocketMQ 5.x), Controller is required.

@wokwong
Copy link
Author

wokwong commented Jan 31, 2023

It depends on the way to organizing the broker cluster:

  • By default, broker roles in a cluster are static, and Controller is unnecessary.
  • If broker roles can be switched dynamically (ONLY supported in RocketMQ 5.x), Controller is required.

不好意思 ,忘记指明版本。
版本是:RocketMQ 5.0
使用operator部署到k8s。
如果RocketMQ 5.0集群要实现自动主从切换 需要额外部署controller,需要对controller额外做什么配置么?

@caigy
Copy link
Contributor

caigy commented Feb 2, 2023

It depends on the way to organizing the broker cluster:

  • By default, broker roles in a cluster are static, and Controller is unnecessary.
  • If broker roles can be switched dynamically (ONLY supported in RocketMQ 5.x), Controller is required.

不好意思 ,忘记指明版本。 版本是:RocketMQ 5.0 使用operator部署到k8s。 如果RocketMQ 5.0集群要实现自动主从切换 需要额外部署controller,需要对controller额外做什么配置么?

  • For Controller, you may find this example for reference. You should specify size (must be odd number), image name, resources and storage configurations.
  • For Broker, set spec. ClusterMode as CONTROLLER enabling dynamical switching.

@zjj1002
Copy link

zjj1002 commented Aug 18, 2023

Could you provide the 5.0.0 version rocketmq_v1alpha1_rocketmq_cluster.yaml for us?
If I want to enable the broker's controller mode.
I don't know whether the image is the latest version or I just added the spec. ClusterMode as CONTROLLER is good enough for the auto failover version5 ?

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

No branches or pull requests

3 participants