Then feed the dd-agent daemonset something like "KUBERNETES_CONFIGRUATION_CONFIGMAP: $NAMESPACE/$CM_NAME". dd-agent on startup would read the CM, write out the relevant files, then start dd-agent as normal.
Hi @zapman449
Thanks for reaching out! It is possible to create a config map with check files, configuration files, or even datadog.yaml as explained here. Does that fit your use case?
We leverage dd-agent as a daemonset in kubernetes. This is a lovely way to run dd-agent, but it has a couple challenges:
postStart
command, and have the process refresh it's config.What I'd love is to lay out in a configmap something like:
Then feed the dd-agent daemonset something like "KUBERNETES_CONFIGRUATION_CONFIGMAP: $NAMESPACE/$CM_NAME". dd-agent on startup would read the CM, write out the relevant files, then start dd-agent as normal.