-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust HELM charts to support replication #912
Comments
@Pothulapati I am guessing we do not need it, right? |
It's confusing. If we don't support replication why do we even have a If we don't want to do any of that, We can close this issue 👍🏼 |
maybe it's for horizontal scale? just deploying multiple instances of Dragonfly? |
Hmm, Valid but we are still providing a single service to access any of that instances part of the horizontal scale which means with default configuration, Users can't be sure on which instance they are landing. For deploying multiple instances, Users can deploy a helm chart multiple times with different names, namespaces. I don't think anyone would want multiple instances of Dragonfly with the same name, and Service. I guess, We can leave it for now as it works for the normal case i.e |
https://github.com/Enapter/charts/blob/master/keydb/templates/secret-utils.yaml#L17 for node in {0..{{ (sub (.Values.nodes | int) 1) }}}; do
if [ "${host}" != "{{ include "keydb.fullname" . }}-${node}" ]; then
replicas+=("--replicaof {{ include "keydb.fullname" . }}-${node}.{{ include "keydb.fullname" . }}-headless {{ .Values.port }}")
fi
done This is how KeyDB helm chart does. It uses a Multi-Master StatefulSet, so redis clients only have to randomly pick one of them to connect (more precisely, using the k8s Service name like keydb:6379), for example: Pod The interesting part is that this KeyDB chart utilized a Fully-Connected Mesh Network, it is great for a small KeyDB cluster, however, I wonder if they can provide an option to use a Ring Network. |
Hey @joeky888 That is interesting to know! Dragonfly does not yet support replica having further replicas, and also a replication from multiple replicas. These have not been previously requested by users too so not a priority right now! But when these features exist, mesh topology seems to be the obvious default with multiple replicas on a helm chart. |
There are no immediate plans to support this |
No description provided.
The text was updated successfully, but these errors were encountered: