-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support sidecar containers and provide cloudsqlproxy example #107
support sidecar containers and provide cloudsqlproxy example #107
Conversation
Thanks for the PR! My initial thoughts are that it would be really nice if users could apply values files without editing. Maybe just an example in the docs would be useful? |
Hi @underrun! Helm isn't really my wheelhouse and I wasn't sure of a way to apply a sidecar to the existing templates without the approach taken here. Personally I don't mind the approach in the |
I meant the documentation angle... But let me think about this a bit and chat with some folks next week. Thanks again for working on this! |
Sure thing..lemme know what y'all need. I was just pleased to be able to simply support cloudsqlproxy for our prod stuff in GCP. Your work here made it a snap to extend...nice job! |
Hi, I have tried to use the PR for getting Cloud Proxy support, with the following command: But I have systematically a status 'Does not have minimum availability' on GCP for the temporal-frontend, temporal-worker, temporal-history, temporal-matching and temporal-worker workloads. Even if I tried to add nodes (6 nodes, auto-scaling). I am not sure about how to tackle this. Also, what is the recommended GKE configuration for the cluster/node pool/machine types? Thanks ! |
@jpearll I cant comment on the recommended GKE config you need, but it sounds like if your pods arent starting up with this cloudsqlproxy config in place your attempt to connect to your db might be hanging. This is a sidecar and I've found they tend to fail badly (eg silently). You might want to check a direct db connection to your cloudsql instance first before trying with this proxy in place? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies for the much-longer-than-a-week it took me to come back to this. We'd like to try and merge this in with a little cleanup. Thanks again for putting this together!
@underrun, what's the ETA for merging this? We need this as well. :) |
@mnichols would you like to make the requested change? If not I can open a parallel PR to get this merged and close this one? Either way is totally fine. Thanks again for your work on this! |
40b0232
to
21ca6aa
Compare
@underrun I made the changes I think you were after and squashed it after rebasing on latest master |
@underrun Is there anything blocking this from being merged in? This would be very helpful to have not just for cloudsql but support for adding in any other sidecars as well. |
🤷 |
This PR extends the helm templates to support sidecar containers. An example for adding a Google cloud sql proxy sidecar is provided.