-
Notifications
You must be signed in to change notification settings - Fork 92
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
Proposal: Add sidecar to Druid deployments #293
Comments
IMHO mutation webhook is the right way to inject, security reasons are something specific to orgs. Is there a druid specific reason to add a sidecar ? |
Thanks. I agree that mutation webhook may be a better solution, but may not be an option for everyone. I believe the operator should have easy config-driven settings to enable sidecars as well. I agree with @himanshug here: I see a couple of issues open related to this as well. These were also my motivation to enable sidecars: For us, we had to send logs to Splunk which needed a sidecar to be run. I will send the PR across in a while. |
Init containers make sense to pull in dependency , adding sidecars in the CR doesn't make sense to me. Mutation Webhooks is the standard practice to add sidecars. You can add mutation webhook in the source code, ie is the standard practice as per kubebuilder and controller runtime docs. |
I get that Mutation Webhooks is the standard practice, but thought it will be good to have an option for the sidecar in the config itself. Let me know if you still want to take a look at the PR. I can send it up within a few days. |
@cintoSunny feel free to send PR :) |
@AdheipSingh : Here is the PR: #296 |
MOTIVATION
Currently, the Druid operator does not allow the addition of a sidecar container to Druid deployments. The only way is to inject sidecars by mutation webhooks like istio. But many orgs may not allow setting up istio or it could be an additional effort to add them.
PROPOSAL
To have the ability to add sidecars via druid operator based on a set of configs. The configs can look something like this:
I have a working code for my org that I used for logging. And can push the change here, but wanted to check with the community first. I saw a couple of issues regarding this earlier, so thought it would be useful. cc: @AdheipSingh
The text was updated successfully, but these errors were encountered: