Kubernetes HA testing Keycloack v18.0.2

Hi there,

I am currently running Keycloak v18.0.2 on my Kube cluster, currently have 3 replicas running from a Statefulset.

I wanted to get some advice on how one would go about confirming that my cluster is in-fact running HA. I have read up on the documentation and ensured that my configuration is correct and that I have multiple replicas running, which in theory should meet the HA criteria.

However, I was wondering if there was a more concrete process or check that i could conduct to ensure that it is configured for HA.

Any assistance would be much appreciated.

Thanks in advance.

In your logs, you should be able to see a line like this:

2022-08-24 16:46:46,419 INFO  [org.infinispan.CLUSTER] (non-blocking-thread--p2-t2) [Context=actionTokens] ISPN100010: Finished rebalance with members [keycloak-quarkus-0-8459, keycloak-quarkus-1-2677, keycloak-quarkus-2-17929], topology id 23

Thank you so much for the response, this was very useful information.

After elevating the level of logging for my cluster I was able to see these exact logs and more.

Confirmed it is indeed operating in HA.

Thanks again.