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

Refactor Keycloak to work with Postgresql HA configuration #1351

Closed
plirglo opened this issue Jun 15, 2020 · 4 comments
Closed

Refactor Keycloak to work with Postgresql HA configuration #1351

plirglo opened this issue Jun 15, 2020 · 4 comments

Comments

@plirglo
Copy link
Contributor

plirglo commented Jun 15, 2020

Currently keycloak is configured to work with only one database node (vm-0). We need to add setup to connect to database using ha tools (pgbouncer, pgpool) when HA is enabled.

@mkyc
Copy link
Contributor

mkyc commented Jun 15, 2020

Shouldn't we also have Keycloak itself in HA mode? Or is that in separate issue?

@plirglo
Copy link
Contributor Author

plirglo commented Jun 15, 2020

Keycloak is deployed in Kubernetes cluster, and yes it's replicable, but uses postgres database, and now kc configuration delivered by epiphany doesn't support HA postgres configuration. We might have problems because of this.

@mkyc
Copy link
Contributor

mkyc commented Jun 15, 2020

All clear now. I just noticed that kc uses ha configuration.

@rafzei rafzei self-assigned this Aug 31, 2021
@rafzei rafzei changed the title Refactor Keycloak to work with HA Epiphany configuration Refactor Keycloak to work with Postgresql HA configuration Sep 10, 2021
@przemyslavic przemyslavic self-assigned this Sep 17, 2021
@przemyslavic
Copy link
Collaborator

przemyslavic commented Sep 22, 2021

✔️ Keycloak deployment with 1 PostgreSQL node + reapply
✔️ Keycloak deployment with 2 clustered PostgreSQL nodes + reapply
✔️ Keycloak deployment with 3 clustered PostgreSQL nodes + reapply
✔️ Keycloak deployment with custom database config provided + reapply

Tested both develop and v1.2.

@mkyc mkyc closed this as completed Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants