redis-operator icon indicating copy to clipboard operation
redis-operator copied to clipboard

Is there support for replication without sharding?

Open doronl opened this issue 2 years ago • 2 comments

When I try the below I get:

RedisCluster.redis.redis.opstreelabs.in "redis-primary" is invalid: spec.redisLeader.replicas: Invalid value: 1: spec.redisLeader.replicas in body should be greater than or equal to 3


redisCluster:
  clusterSize: 3
  image: quay.io/opstree/redis
  tag: v5.0.0
  imagePullPolicy: IfNotPresent
  leader:
    replicas: 1
    serviceType: ClusterIP
    affinity: {}
  follower:
    replicas: 2

I need an HA cluster spread across 3 AZs (I don't need sharding...), just high availability, can this be achieved with this operator?

doronl avatar Jun 23 '22 13:06 doronl

Right now, high availability is not supported without sharding but we do have an intent to add this in future.

iamabhishek-dubey avatar Jul 04 '22 18:07 iamabhishek-dubey

Thanks @iamabhishek-dubey I tell you my delema, I am OK with using a cluster with sharing, the issue is that as far as I know

doronl avatar Jul 04 '22 21:07 doronl

Hello! I'm too interested in this functionality. Any plans on it?

xDFCx avatar Dec 21 '22 08:12 xDFCx

@xDFCx I am adding it.

shubham-cmyk avatar Jan 19 '23 16:01 shubham-cmyk

@shubham-cmyk Thank you for all of your hard work. Can you tell me when you plan to release this feature?

emahdij avatar Jan 22 '23 11:01 emahdij

https://github.com/OT-CONTAINER-KIT/redis-operator/pull/417

shubham-cmyk avatar Feb 05 '23 15:02 shubham-cmyk