Cluster metadata provider
To enable the cluster metadata provider feature:
- Ensure the Node Agents and the Datadog Cluster Agent can properly communicate.
- Create a Cluster Agent service in front of the Datadog Cluster Agent.
- Ensure an auth_token is properly shared between the Agents.
- Confirm the RBAC rules are properly set.
- In the Node Agent, set the environment variable
DD_CLUSTER_AGENT_ENABLED
to true
. - Optional - The environment variable
DD_KUBERNETES_METADATA_TAG_UPDATE_FREQ
can be set to specify how often the Node Agents hit the Datadog Cluster Agent. - Optional - Disable the Kubernetes metadata tag collection with
DD_KUBERNETES_COLLECT_METADATA_TAGS=false
.
Further Reading
Additional helpful documentation, links, and articles: