opensearch-k8s-operator icon indicating copy to clipboard operation
opensearch-k8s-operator copied to clipboard

Support for starting sidecar container with opensearch cluster PODs

Open ervikrant06 opened this issue 2 years ago • 1 comments

Hello,

Can anyone pls confirm whether we provide the option of adding sidecar container into the opensearch cluster deployment using operator?

If yes, how can we do it. I checked the CRD couldn't find the option to do it.

Use case:

Want to access the cloud bucket from opensearch deployment in on-prem but it requires dnsmasq hack which we usually do with sidecar container.

ervikrant06 avatar Jan 10 '23 13:01 ervikrant06

Hey :) sidecar is not supported yet, you can declare your own init pod and run additional logic from it. but no, sidecar is still not an option today.

You are more than welcome to raise a PR on it, should be pretty simple. Thanks !

idanl21 avatar Jan 10 '23 16:01 idanl21

I also need this feature to supply for instance a otel-collector as sidecar for the otel-telemetry plugin using the otel metric exporter.

2mf avatar Jul 09 '25 07:07 2mf

I would like to take this up

patelsmit32123 avatar Sep 26 '25 17:09 patelsmit32123

@idanl21 I have raised the PR, but i am seeing some validation errors. Can you please help take a look? https://github.com/opensearch-project/opensearch-k8s-operator/pull/1110#discussion_r2383174891

patelsmit32123 avatar Sep 26 '25 18:09 patelsmit32123