apache / rocketmq-operator

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

add pod anti affinity for broker #83

Closed overstep123 closed 1 year ago

zongtanghu commented 1 year ago

Hi,this pr has some codes conflicts, can you resolve it in your local enviroments?

overstep123 commented 1 year ago

done

overstep123 commented 1 year ago

I just found out that it's possible to pass through affinity from broker.yaml to statefulset.yaml(this is only after I initiated the PR). Although it is still difficult to set different affinities for master and replica respectively, it works fine in most cases. So maybe this PR is no longer useful. I'll close it