I have two cluster in GCP.
- GKE cluster which has only postgres installed using Kubernetes.
- A dataproc cluster.
Now if i make the service of postgres as Internally load balanced to provide security i can access it using my VPN configurations .
But the problem got while accessing the Postgres from the dataproc cluster. The communication wasnt successful. Hence i had to made the postgres public load balanced.
I want suggestions here how we can achieve security here.? making database less accessible however it should be still accessible by Dataproc cluster.