caigy commented on issue #149:
URL: 
https://github.com/apache/rocketmq-operator/issues/149#issuecomment-1413032878

   > > 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](https://github.com/apache/rocketmq-operator/blob/master/example/rocketmq_v1alpha1_controller_cr.yaml)
 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to