DataDog / helm-charts

Helm charts for Datadog products
Apache License 2.0
349 stars 1.02k forks source link

No easy way to disable dogstatsd and avoid the agent container port to be defined #1589

Open rymir opened 1 month ago

rymir commented 1 month ago

We're running dogstatsd in kubernetes as a standalone daemonset using https://github.com/DataDog/datadog-agent/blob/main/Dockerfiles/dogstatsd/alpine/README.md as we want the statsd UDP port to be up and running as soon as possible when we boot new kubernetes nodes.

There's currently no obvious way in the helm chart to instruct the datadog agent not to use dogstatsd, and ensure that an 8125 UDP port doesn't get assigned to the agent container.

This is key when running a separate dogstatsd daemonset, both in host networking mode, so that the daemonset don't clash on port 8125 UDP, without having to resort to brittle workarounds, as redefining the dogstatsd port to a different, when we shouldn't be binding the container port at all.