0 Replies Latest reply on Mar 20, 2018 11:53 AM by huychau

    Keycloak +  Postgres multiple instances on Kubernetes

    huychau

      I am trying to config Keycloak on Kubernetes with multiple instances (pods) and use database is Postgres.

       

       

      I have tried with `jboss/keycloak-ha-postgres`. If I use 1 pod, it works fine. But when I scale to 2 or more pods, got the login error:

       

      Login success -> redirect to dashboard -> come back to login page.

       

      It can not keep the login sessions or something else.

       

       

      Btw, which Operating Mode should I choose in this case? Standalone Clustered Mode or Domain Clustered Mode? And please help me how to handle it.

       

       

      Thanks :))