Wednesday, June 20, 2018

[google-cloud-sql-discuss] Re: How can a private GKE cluster communicate with a Cloud SQL instance within the project.

That is the part that doesn't seem to work.
Looking at the pod's logs, I see the following error:

Warning: mysqli::__construct(): (HY000/2002): Connection timed out in Standard input code on line 22
MySQL Connection Error: (2002) Connection timed out


On Wednesday, June 20, 2018 at 11:14:36 AM UTC-5, Larbi (Google Cloud Support) wrote:
Hello Shubhanan,

I see that you removed the cloud proxy container from the deployment, the Cloud SQL Proxy provides secure access to your Cloud SQL Second Generation instances . sure you do not need to use the proxy or configure SSL to connect to Cloud SQL from App Engine standard or flexible environment.

As you mention the connectivity from the NAT gateway to your Cloud SQL is working fine, What about the from your private or public GKE to this NAT gateway is it working fine ? 

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/a83be2c0-3591-47c5-922b-3ec746ab312a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment