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

   @se7vet If you want to deploy only one broker in one host, you may define 
podAntiAffinity policy like this:
   ```yaml
       affinity:
         podAntiAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             - labelSelector:
                 matchLabels:
                   app: broker
               topologyKey: kubernetes.io/hostname
   ```


-- 
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