apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
309 stars 126 forks source link

是否需要单独部署controller #149

Open wokwong opened 1 year ago

wokwong commented 1 year ago

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

caigy commented 1 year ago

It depends on the way to organizing the broker cluster:

wokwong commented 1 year ago

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 commented 1 year ago

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额外做什么配置么?

zjj1002 commented 10 months ago

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 ?