-
Notifications
You must be signed in to change notification settings - Fork 103
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
Containers in a kind cluster are not being reported in Datadog #101
Comments
|
`$.spec.agent.config` contains the configuration for core agent. So `$.spec.agent.config.env` applies only to core agent. This patch adds `$.spec.agent.env` for environment variables that must defined for all the agents and not only the core one. Fixes #101
`$.spec.agent.config` contains the configuration for core agent. So `$.spec.agent.config.env` applies only to core agent. This patch adds `$.spec.agent.env` for environment variables that must defined for all the agents and not only the core one. Fixes #101
* Fixes #97, Fixes #95, Fixes #101, Fixes #102 * Make the definition of `DD_CRI_SOCKET_PATH` and `DOCKER_HOST` for all containers. * Fix DatadogMetric generation with operator-sdk 0.17 * Add a way to specify environment variables for all containers * Allow to use a custom secret key name when providing API or APP key via an existing secret * This patch adds `$.spec.agent.env` for environment variables that must defined for all the agents and not only the core one. Co-authored-by: Cedric Lamoriniere <cedric.lamoriniere@datadoghq.com>
Indeed, good catch @arapulido ! In fact, what happened was that some environment variables were defined only for the core agent container whereas they were needed by the process agent as well. I did a PR for the environment variables that are automatically managed by the operator ( Environment variables defined in So, once you’ll have upgraded to a version of the operator that has my change, you’ll need to move the definition of |
@L3n41c Thanks! And thanks so much for taking the time to explain the root cause and the fix. Really appreciated! ❤️ |
Describe what happened:
I have created a 3-node
kind
cluster running 1.18 and I am running datadog-operator v0.2.1 on it.I deploy the node agent using the following configuration:
Describe what you expected:
I expect to get container information in Datadog. I get this instead:
I get process information correctly:
Steps to reproduce the issue:
cluster-config.yaml
:The text was updated successfully, but these errors were encountered: