-
Notifications
You must be signed in to change notification settings - Fork 608
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
feat(keycloak) Enable Keycloak cluster nodes discovery by default #716
feat(keycloak) Enable Keycloak cluster nodes discovery by default #716
Conversation
562efcc
to
cef5086
Compare
I think that having the env vars added depending on replica number is not flexible enough. For this case, there should at least be a boolean in values.yaml to disable automatically adding them (if not even the entire config of both values). |
68dce12
to
1bf0348
Compare
While trying out the helm chart with replicas > 1, we've had the issue that all keycloak instances don't identify each other to be part of the keycloak cluster. This caused issues after logging in with multiple replicas on the admin web console. The problem lies on the missing cluster node discovery configuration. More information: https://www.keycloak.org/2019/05/keycloak-cluster-setup.html Signed-off-by: Oswaldo Montenegro <[email protected]>
1bf0348
to
20a3563
Compare
@devRoemer Thanks for your comment! I refactored my change in a way that is more flexible to change and adapt. |
Hi @oswaldo-montenegro-codecentric, thanks for the PR. Imho the defaults seem to be mixed right now.. with the default values, keycloak is installed with a single replica and autoscaling disabled, but your changes imply default cluster nodes discovery mechanisms. From my pov, we should comment your changes, so that they are included in the values for the reference but disabled as a default. I'm not in the topic enough to verify, whether your changes do have negative impact in non-cluster mode. |
This pull request has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs. |
feat(keycloak) Include out-of-the-box high availability mechanism
While trying out the helm chart with replicas > 1, we've had the issue that
all keycloak instances don't identify each other to be part of the keycloak cluster.
This caused issues after logging in with multiple replicas. The problem lies in the missing distributed caching configuration. This change allows the helm chart to fully function with multiple replicas out of the box.
More information: https://www.keycloak.org/server/caching
Signed-off-by: Oswaldo Montenegro [email protected]