frankjkelly opened a new issue #248:
URL: https://github.com/apache/pulsar-helm-chart/issues/248


   **Is your feature request related to a problem? Please describe.**
   In a multi-K8S-namespace environment with anti-affinity rules turned on we 
cam still end up with multiple brokers or bookies on the same node.
   
   **Describe the solution you'd like**
   Stateful set definitions of anti-affinity rules should allow namespaces to 
be specified
   See for example
   
https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/broker-statefulset.yaml#L67-L102
   
https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/bookkeeper-statefulset.yaml#L63-L102
   
   NOTE: 
   See NamespaceSelector 
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#namespace-selector
   PodAffinityNamespaceSelector was alpha'd in 1.21 and Beta in 1.22 (but we 
are on 1.20)
   
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
   
   **Describe alternatives you've considered**
   Looked for some other label we could add to the pod but nothing jumped out 
at me.
   This would be preferred if possible as it could be used in earlier versions 
of K8S.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to