Do we need external database for keyclaok >= v19?

Hi guys,
I am new to keycloak and would like to setup a production keycloak. I noticed there was a major change in storage model from v19.0. Users, Realms and Instances can be now deployed as kubernetes resources. Does this mean persistence is achieved with Statefulsets and we don’t require external databases ? Any example links, suggestions are welcome.

I am coming here after this thread: Do I really need a database other than the database that comes out-of-the-box?
and going through this link: Server Installation and Configuration Guide
which says:
This storage will eventually replace the current storage, which will be called a legacy store with this version

You still need an external database if you care about persisting changes, which, in production, you very probably do.

1 Like