Not being familiar with Keycloak it is hard to answer definitively, but as per the SO link, Cloud Run applications need to be stateless from a container standpoint (of course they can use an external service for state) but it does seem that Keycloak relies on an on-server caching mechanism and clustering for high availability, see:
https://www.keycloak.org/server/caching
To me this says that Cloud Run might have issues. Have you considered GKE Autopilot as an alternative?
https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview
GKE is costly compared to other options for an internal staging application. I am looking on GAE now. Ref: https://nl.devoteam.com/expert-view/deploying-keycloak-on-google-app-engine/
Did you manage to run keycloak ook GAE Valsaraj?
Ive tried to do the same for several days, but kept running into 404 errors. Any help would be greatly appreciated!
we managed to deploy to cloud run. i posted an answer at your mentioned question in stackoverflow.
from keycloak version 26+, user sessions are persisted by-default. is it possible now for deploying on cloudrun.?
ref: https://www.keycloak.org/docs/latest/release_notes/index.html#user-sessions-persisted-by-default