4 ms·
A very welcome change. It's gonna be helpful for the case where the database proxy (CloudSQL) and the main container got terminated out of order. https://cloud
by yla92 3y ago
A very welcome change. It's gonna be helpful for the case where the database proxy (CloudSQL) and the main container got terminated out of order.
https://cloud.google.com/sql/docs/postgres/connect-kubernetes-engine https://cloud.google.com/sql/docs/postgres/connect-kubernete...
- giovannibonetti 3y agoThat is very annoying. I remember having spent some time with this same issue in Google App Engine as well, which also runs Cloud SQL Proxy as a sidecar container. https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues/396 https://github.com/GoogleCloudPlatform/cloudsql-proxy/issues...
- numbsafari 3y agoThe fact that this is needed for so many different things Google pushes, and it has been so slow to make it in, has been very frustrating and telling.
- aranelsurion 3y agoJust FYI for people who don't know about it yet: with cloudsql-proxy v2 there's a new parameter called "--quitquitquit" that starts up an HTTP endpoint to be used for graceful shutdowns. Basically your main container makes a POST to this endpoint, and sidecar exits.