Kubernetes multiple databases

Viewed 140

I'm going to develop a Java microservice application and as I discovered it is an anti-pattern to share a database between microservices, I have a question.

Lets say I have 3 microservices and want to create 3 separate PostgreSQL databases. Do I have to create each service with different exposed port for 3 PostgreSQL images?

0 Answers
Related