I was able to successfully create a Google Container cluster in the developer console and deployed my application to it. It all starts fine, however, I found that I canβt connect to Cloud SQL, I get:
"Error: Handshake inactivity timeout"
After a little digging, I had no problems connecting to the database from App Engine or my local machine, so I thought it was a bit strange. Then I noticed cluster permissions ...
When I select my cluster, I see the following:
Permissions User info Disabled Compute Read Write Storage Read Only Task queue Disabled BigQuery Disabled Cloud SQL Disabled Cloud Datastore Disabled Cloud Logging Write Only Cloud Platform Disabled
I really hoped to use both Cloud Storage and Cloud SQL in my container nodes. I allowed access to each of these APIs in my project settings, and my Cloud SQL instance accepts connections from any IP (I already performed Node in a managed virtual machine on App Engine earlier), so I believe that Google explicitly disables these APIs.
So my question is in two parts:
- Is there a way to change these permissions?
- Is there a good reason why these APIs are disabled? (I guess that should be)
Any help is much appreciated!
source share