Replies: 1 comment 1 reply
-
Having a default spread which would work for everyone is not easy since everyone has different requirements, wants to use different topology for the spread etc. So yes, it makes sense to use the spread of podAntiAffinity. But this might be unique for everyone. So the best way is to just go and add your own configuration to match your environment. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
AFAIU, the cluster operator leader election allows to have standby replicas which are useful when a node crashes and Kube is unable to reschedule the operator pod into another node, so it doesn't make sense to create the standby pod within the same node as the leader pod.
Are there any default spread constraints or anti affinity rules ensuring that standby instances are scheduled in a different node / zone if possible?
I tried to take a look in the PR but could not find anything like that https://github.com/strimzi/strimzi-kafka-operator/pull/7177/files
If such rules / constraint do not exist, does it make sense to create them? Would it be a relatively simple contribution?
Thank you very much for your excellent work!
❤️ Strimzi
Beta Was this translation helpful? Give feedback.
All reactions