OT-CONTAINER-KIT / redis-operator

A golang based redis operator that will make/oversee Redis standalone/cluster/replication/sentinel mode setup on top of the Kubernetes.
https://ot-redis-operator.netlify.app/
Apache License 2.0
734 stars 207 forks source link

Support topologySpreadConstraints #868

Open evrardjp opened 2 months ago

evrardjp commented 2 months ago

Is your feature request related to a problem? Please describe.

Types have affinity/pdb, but do not have topologyspreadconstraints. This is useful to split into multiple AZs.

Describe the solution you'd like

I guess add support of tsc into multiple places of the code.

Describe alternatives you've considered

Forking.

What version of redis-operator are you using?

redis-operator version: latest

Additional context

I am okay to implement it on my own. However, I would love to have the maintainers voice on:

drivebyer commented 2 weeks ago

I think we need to write conversion-related because if people use v1beta1 with topologySpreadConstraints, our operator needs to reconcile it to the right status.