Agent v6.11+ の場合、Datadog Agent は Google Kubernetes Engine (GKE)、Azure Kubernetes Service (AKS)、Amazon Elastic Kubernetes Service (EKS) で Kubernetes クラスター名を自動検出できます。検出された場合、収集されたすべてのデータに、ノード名のサフィックスとしてクラスター名が追加されます。これにより、Kubernetes クラスター全体でノードの識別が容易になります。

On GKE, the cluster name is retrieved from the cloud provider API.

On Azure AKS, the cluster name is parsed from the resource group name of the node and must conform to the pattern: (MC|mc)_<resource-group>_<cluster-name>_<zone>.

On Amazon EKS, the cluster name is retrieved from EC2 instance tags. For the Datadog Agent to query EC2 instance tags, you must add the ec2:DescribeInstances permission to your Datadog IAM policy.

Note: You can manually set this cluster name value with Agent v6.5+ by using Agent configuration parameter clusterName or the DD_CLUSTER_NAME environment variable.