The issue targets an SQL scaling problem. For Cloud SQL Proxy there are options and one of them is one to specify instances through instance metadata with -instances_metadata option.
Despite -instances flag where we can specify a list of Cloud SQL instances connections names the -instances_metadata flag is not clear how to use.
Is that means that instance metadata works only for SQL instances that are on VMs? Because I don't understand how to add metadata to Cloud SQL Instance or fetch it by some way.
If there is no way to set or rely on Cloud SQL instance metadata that means that there is no way to scale Cloud SQL instances without proxy configuration update. Don't believe it's true. GC should support that.
Thank you for any advice.