Switch to the Cloud SQL Auth Proxy Kubernetes Operator
There is a new way to use the Cloud SQL Auth Proxy in Kuberentes: Announcement / Repo
This would remove the need of
- The Sidecar container
- Local filesystem, needing special handling for the ClusterAutoScaler (see !115 (merged))
- Needing to provide a entrypoint (the Containers default entrypoint could be used)
What has to be checked:
-
Does it work with jobs? -> yes, but for each kind (CronJob, Deployment, etc) one has to configure a separate AuthProxyWorkload
with a appropriateworkloadSelector
-
Is it mature enough? -> v1.0.0 was released may 16th. -
...?
Edited by Michael