When creating an instance template with a container and running it on GCE, what's the recommended way to connect to a CloudSQL instance from the container?
GCE doesn't allow you to expose ports, and runs the container in host networking mode, so running cloudsql proxy in the background of the container doesn't work either.
This ended up being a timing issue.. sending the cloudsql proxy to the background without waiting for it it initialize was causing the application to not retry connecting to the port.