Skip to content
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

Hydra on kubernetes is not working well with redis cluster mode or master-slave mode #213

Open
abdoolly opened this issue Sep 17, 2019 · 0 comments
Assignees

Comments

@abdoolly
Copy link

I am currently trying to deploy hydra on kubernetes so , I have been trying to make it work with redis in high availability modes.

  • First the redis sharding or the cluster mode
    There is a problem using this mode with hydra since the SELECT command in this mode is disabled because the cluster mode does not support multi databases.

  • Second mode is the master-slave mode
    The problem here is that I have 2 kubernetes services one for the master and the other for the slaves so , the problem is hydra config does not accept a write/read url or readonly url
    so we can optimize how it's working with the master-slave mode.

I don't know which of them is the easiest but I would suggest to allow the redis configs to take 2 redis urls which is a master url and a slave url and use the slave for readonly operations.
that would ease out solving the problem in the master-slave mode.

Thanks in advance.

@abdoolly abdoolly changed the title Hydra on kubernetes is not dealing well with redis cluster mode or master-slave mode Hydra on kubernetes is not working well with redis cluster mode or master-slave mode Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants