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
820 stars 227 forks source link

Support topologySpreadConstraints #868

Open evrardjp opened 7 months ago

evrardjp commented 7 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 5 months 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.

vramperez commented 2 months ago

Any news? I would also be interested in this enhancement.