datadog-operator icon indicating copy to clipboard operation
datadog-operator copied to clipboard

Automatic sidecar injection of datadog agent (for eg running on AWS Fargate)

Open mcuelenaere opened this issue 3 years ago • 5 comments

When running containers on AWS Fargate, there is no possibility to run datadog-agent as a DaemonSet. The only possible way (AFAIK) is by adding a sidecar container to the pod.

It would be useful if datadog(-operator) would have a feature where it can (optionally) automatically inject datadog-agent containers into pods (similar to what eg Istio or AWS AppMesh do).

Is this feature on the roadmap somewhere?

mcuelenaere avatar Dec 08 '21 17:12 mcuelenaere

Hello @mcuelenaere

Yes, we already have this feature in our roadmap. It will be a little bit different from what you propose. We plan to use the admission-controller already present in the Datadog cluster-agent to inject an agent container as a sidecar.

clamoriniere avatar Dec 08 '21 17:12 clamoriniere

Hi sorry to jump in but is this to say that currently AWS Fargate cannot run this datadog-operator? (I run a fargate only cluster)

I've gone ahead and setup the dd agent via sidecar injection method, as documented, but I'm still missing a lot of what this controller has to offer, right? (k8s event metrics for one?)

comjf avatar Mar 24 '22 03:03 comjf

Hi,

I would like receive when this feature is available, please

Thank you!

lteixeira-dock avatar Nov 16 '22 14:11 lteixeira-dock

Hi.

Is there any chance of some movement on this feature? We could really make use of it.

Many thanks!

pmcenery-bl avatar Jan 30 '24 14:01 pmcenery-bl

Hello @pmcenery-bl, @lteixeira-dock

This feature has just been released in version 7.52 of the agent.

Refer to the readme here for more details.

For helm users, refer to this configuration section.

For operator users, the feature configuration is not implemented yet, it should be available in the near future.

The following documents can be useful:

adel121 avatar Mar 27 '24 17:03 adel121