Skip to content

Optional Redis master #136

Answered by Envek
AlexWayfer asked this question in Q&A
Jul 16, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey! Look at description of anycable/anycable-helm#9:

Example of deploying anycable-go with sentinels:

helm install anycable-redis bitnami/redis --set "cluster.enabled=true,sentinel.enabled=true,password=password"
helm install anycable-go anycable/anycable-go --set "env.anycableRedisUrl=redis://:password@mymaster:6379/0,env.anycableRedisSentinels=:password@anycable-redis-headless:26379"

Note that in this example in ANYCABLE_REDIS_URL name of the master instance is specified and in ANYCABLE_REDIS_SENTINELS address of headless service is specified (which points into all redis pods: both initial master and slaves)

When sentinels are used, ANYCABLE_REDIS_URL must contain name of Redis deplo…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@romcheck
Comment options

@Envek
Comment options

Envek Jul 21, 2021
Collaborator

@romcheck
Comment options

Answer selected by AlexWayfer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants