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.