Migrating a Postgres database from Heroku to Google Cloud in a Kubernetes and Docker setup.
Trying to decide what is a better approach.
1st approach - Use a persistent disc on the VM that is used by a deployed Postgres instance in the Kubernetes cluster.
2nd approach - Use a managed Postgres SQL database that the cluster deployments connect to.
I assume the main differences would be for the maintenance and updating of the database? Are there any big trade-offs of one setup vs the other?
This is an opinion question so I'll answer with an option.
Kubernetes Postgres
Managed postgres SQL database
Pros:
Cons: