是否需要单独部署controller
提问: 在rocketmq-operator README.md 中没有介绍是否需要部署controller ,是否需要单独部署呢?谢谢
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.
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额外做什么配置么?
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. ClusterModeasCONTROLLERenabling dynamical switching.
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 ?