How to make jdbc PAYARA connection to CloudSQL from GKE

70 Views Asked by At

I have a project into PAYARA server full with JDBC Connectiones. The project works fine over VMs (actually GCP).

But I need migrate to GKE. I have a payara server full running on GCP POD but i don't know make a JDBC Connection to CLoudSQL.

Please helpme.

1

There are 1 best solutions below

0
On

Take a look at the Cloud SQL connector for Java.

You might also be interested in the Cloud SQL Auth proxy, which is covered in the "Connecting from Google Kubernetes Engine".