CodisLabs / CodisLabs/codis

[help needed] Resharding within k8s pods

Open
#1,483 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.2k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have a use case when Java needs to upload data from its own redis queue to other redis instances (i.e kubernetes downscaling), and I have to be sure that the destination Redis is able to accept an additional amount of data.

Java application is in k8s containers, working with redis instances, and every java app needs its own redis ( multi-container pods).

Also, Redis instances can't be joined in the cluster (application architecture doesn't provide a possibility to work with clustered redis).

Distribute data to all other redises is a possible scenario, but I'm afraid of the situation when some data would be lost, which is highly undesirable.

So the question is: Does Codis able to work with a kubernetes set of Redis pods, not being joined into the cluster (with headless k8s service or else)? And can it make resharding from the one Redis pod, which's just going to downscale, to another that's able to accept it's data?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.