rocketmq-operator icon indicating copy to clipboard operation
rocketmq-operator copied to clipboard

it will be deployed on the same node When I deploy brokers with three masters and three slaves

Open Misakiz opened this issue 1 year ago • 3 comments

The issue tracker is ONLY used for the bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before you raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)? My k8s has 7 nodes,i deploy rocketmq with mq-operator.
  • What did you expect to see? it was deployed on the different node When I deploy brokers with three masters and three slaves
  • What did you see instead? some brokers were deployed on the same node
  1. Please tell us about your environment:

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

FEATURE REQUEST

  1. Please describe the feature you are requesting.

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

  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

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

  • sub-task1-issue-number: sub-task1 description here,
  • sub-task2-issue-number: sub-task2 description here,
  • ...

Misakiz avatar Jun 09 '23 10:06 Misakiz

Have you set Affinity? By default rocketmq-operator set "app": "broker" as label for broker pod, but did not set any anti-affinity rules. You can set such affinity rules in Affinity.

caigy avatar Jun 13 '23 12:06 caigy

Maybe we can provide default anti-affinity.

drivebyer avatar Aug 03 '23 06:08 drivebyer

Have you set Affinity? By default rocketmq-operator set "app": "broker" as label for broker pod, but did not set any anti-affinity rules. You can set such affinity rules in Affinity.

@Misakiz Does it works for you?

caigy avatar Sep 01 '23 09:09 caigy