Request for advice and assistance on an architecture

Dear all,

I’m at the beginning of a project et we would like to push on the cloud (we don’t know what cloud at the moment) a Kubernetes infrastructure, with a java server application (with Vert.x) available.

This java server application interacts with a postgres database and a keycloak server.

But we focus in the future that this java application can scale with multiple instance, for example 2 or 3 replicates.

How we can do that ? >e are new to technology and are looking for guidance and good practices. Especially since I think that the keycloak will certainly have to be shared by different instances of our java server from where to be a shared network right?

I started to look to put keycloak on kubernetes with this link, but I feel that it does not work, because I have no keycloak replicat in my minikube.

Because for the moment I develop only with minikube

And a lot and best regards

Adrien