Skip to content

Extra containers and extra initContainers - #15

Open
ivank wants to merge 1 commit into
inngest:mainfrom
ivank:inngest-extra-containers
Open

Extra containers and extra initContainers#15
ivank wants to merge 1 commit into
inngest:mainfrom
ivank:inngest-extra-containers

Conversation

@ivank

@ivank ivank commented Feb 9, 2026

Copy link
Copy Markdown

Our setup is on GCP and we are using google SQL for postgres. The recommended way to connect to the database is with google's sql auth proxy.

And the easiest way of doing this is to have the proxy running as a sidecar container.

To do that we define extraContainers and extraInitContainers, and make this consistent in all the deployments so future considerations can also be handled with this - for example a telemetry collector or a logs file reader.

I have seen this pattern in a lot of software, for example HashiCorp's consul.

I've already made the same change in another software we are using and that worked out well featbit/featbit-charts#57

Add extra containers helm chart so that we can deploy on GCP with
Managed SQL instance. That's because GCP wants you to use an
sql-auth-proxy

@djfarrelly djfarrelly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ivank - thanks for this PR - I like the idea and would definitely like to support it. One key question that I had with this PR was why the string literal approach instead of yaml configuration for these? I would imagine that configuring these in yaml would be easier as it's structured and easier for other tools to parse, but I may be missing some context in the ecosystem why a yaml-in-string-literal approach is better.

I drafted the yaml approach on top of your work below, but would like your thoughts on this if there are any pros/cons that I may be missing?

#19

Thanks again for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants