valkey-helm icon indicating copy to clipboard operation
valkey-helm copied to clipboard

Cluster support

Open qdii opened this issue 2 months ago • 6 comments

Currently, the replicaCount simply spawns multiple valkey pods, but those pods do not act as a valkey cluster. It would be great for the chart to support this.

qdii avatar Oct 01 '25 21:10 qdii

I`m working on it. Valkey helm chart would be more complicated, so its need some time

mk-raven avatar Oct 02 '25 06:10 mk-raven

hi @mk-raven, is there any timeline on this, please? I can land a hand if you need.

dgerea avatar Oct 21 '25 05:10 dgerea

great idea. please

kamikaze avatar Oct 27 '25 15:10 kamikaze

I also found a PVC bug. I agree, I will need to set replicaCount: 1 for now. But also, only one PVC is created in this chart. The following config will install but will never get past the init stage:

replicaCount: 3

...
dataStorage:
  enabled: true
  className: hcloud-volumes
  requestedSize: 10Gi
  accessModes:
    - ReadWriteOnce

This is because it only creates one PVC, which all the containers try to attach to, and obviously that cannot work. The replicas in the cluster would need to each create their own PVC as well.

tgrushka avatar Oct 31 '25 05:10 tgrushka

@tgrushka

One problem is that your PVC access mode is ReadWriteOnce, so it can only be mounted once. If you changed that to ReadWriteMany, multiple pods could mount it.

Having multiple pods share a PVC is probably not a good idea though. Each pod should have their own PVC, and act as a cluster (that is the purpose of this issue).

qdii avatar Nov 16 '25 13:11 qdii

also waiting for cluster.. i will be so happy when this works :)

bugrakeskin avatar Nov 25 '25 06:11 bugrakeskin