-
Notifications
You must be signed in to change notification settings - Fork 345
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
Inject sidecars in other controllers #750
Comments
One of the motivations behind #171 is indeed to be able to inject sidecars into any workload that is backed by pods, but it adds some complexity to the setup. Unfortunately, this can't be currently covered by OLM (to the best of our knowledge), so, it's currently a blocker for us. If you absolutely require support for |
I'm marking as "duplicate", as I'm sure we talked about this in the past. |
I just added the sidecars manually for now, which works for small deployments. Not a blocker. |
I just added the sidecars manually for now, which works for small deployments. Not a blocker. While #171 can't be dealt with purely on OLM, it looks like the actual complexity of the webhook (the ca bundle, etc) can be. The actual injector is relatively simple and could be run as its own service. |
Apparently, support for mutating webhook is coming to the operator SDK in the future. Once it is there, we should certainly re-evaluate this! |
It is a blocker for some usages, we like to deploy our artifcats the same way, using one single "rule them all" pipeline, which makes it impossible for us, as of today, to unify completely, because our periodic jobs do not receive their associated sidecar. We have to rely on a Maybe regular one off Job(s) could benefit from this feature eventually? |
Oh I might add, I'm now programatically adding the sidecar agent when generating the cronjob, using my conventionnal Worth noting, when the job finishes, the I am just giving this as a sidenote to be kept in mind, I'll fall back to another mode of functionning for .my jobs |
Can operator start supporting inject in ArgoCD Rollouts? https://argoproj.github.io/argo-rollouts/ |
As I understood, ArgoCD Rollouts create ReplicaSets. As such, it should work once #171 is there. |
Just wanted to chime in here - while #171 is being worked on, an alternative solution is now available through KubeMod (as described in my comment). |
#171 will allow injecting to all pods. |
For instance, on OpenShift if we are using DeploymentConfigs instead of Deployments we cant auto inject jaeger sidecars. With the latest Istio setup on OpenShift daemonsets are deprecated, so this becomes more important.
Places I can think of where sidecars could be injected:
I think #171 would solve this for all controllers (as well as pods without a controller).
The text was updated successfully, but these errors were encountered: