Trying to deploy keycloak:19.0.1 cluster

379 views
Skip to first unread message

Satyendra

unread,
Aug 28, 2022, 10:42:04 AM8/28/22
to Keycloak User
Hello all,
I am trying to deploy the keycloak cluster with Postgres, could do that jboss/keycloak but not with quay.io/keycloak/keycloak:19.0.1.

Also what needs to be done to deploy in production
please help me do that attached to my docker-compose.yaml
keycloak-postgres-jdbc-ping.yml

C R

unread,
Aug 30, 2022, 6:13:13 PM8/30/22
to Satyendra, Keycloak User
Hi,

I would propose to use a DNS ping. It's way more reliable in my experience.

Built time options (in your Dockerfile):
ENV KC_CACHE=ispn
ENV KC_CACHE_STACK=kubernetes

Runtime options (env values) passed to the container (in this example
I only use IPv6):
JAVA_OPTS_APPEND=-Djgroups.dns.query=HERE_THE_DNS_NAME_THAT_RETURNS_ALL_THE_IPS_OFF_ALL_THE_NODES
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true
-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0"

Regards,

CR
> --
> You received this message because you are subscribed to the Google Groups "Keycloak User" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/a9b9a6ad-c508-4d72-bdfd-9a5236667d15n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages