Skip to content

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

@abdoolly

Description

@abdoolly

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions