Realm missing after realod

Hi everyone,

I have encountered an issue where a realm that I created and configured in Keycloak is being removed after reloading the server. I am wondering if anyone has experienced a similar issue and if there is a solution to fix it.

I have already configured the realm and set all the necessary settings, but after reloading the Keycloak server, the realm seems to be removed or deleted. I am not sure what is causing this issue, and I have been unable to find any relevant information in the Keycloak documentation or forums.

If anyone has any suggestions or solutions to this issue, I would greatly appreciate it. Thank you for your time and help.

I use this command for install “kubectl create -f https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/latest/kubernetes-examples/keycloak.yaml

Are you using an external DB? Because the in-memory DB has file persistence, but this file is inside the pod and won’t exist anymore when the pod is deleted.

So, to have persistence, you need an external database.

1 Like