Does anyone have documentation on how to configure clustering for Keycloak 17 running in Docker container? I am specifically interested in using DNS ping. Previously in version 15 I was doing this:
If you end up needing to write your own Infinispan config file, there a discussion here about it. Even though JDBC_PING is discussed, you can use the same method for any custom configuration: Use of JDBC_PING with Keycloak 17 (Quarkus distro)
If you are trying to create the cluster on Kubernetes, the below properties will help you.
–auto-build
–cache-stack=kubernetes
…
A headless Kubernetes service should be created pointing to the Keycloak pod set and its DNS name should be set as an environment variable by name ‘jgroups.dns.query’.