Open CmdrSharp opened 1 year ago
Hi @cm
Thanks for opening this issue.
Unfortunately, the cluster-agent doesn't yet look at the kubernetes.googleapis.com/cluster-name
label or this cluster
resource.
However the agent have already a configuration option to configure it.
datadog:
env:
- name: DD_KUBERNETES_NODE_LABEL_AS_CLUSTER_NAME
value: "kubernetes.googleapis.com/cluster-name"
Please let us know if this workaround works for you. 🙇
In parallel, on our side, we will investigate what is the best way to detect the cluster-name in Anthos (labels va Cluster resource vs other).
Describe what happened: When installing Datadog via Helm on Anthos on-premises (GKE), the Datadog Cluster Agent fails to detect the cluster name automatically.
Describe what you expected: Cluster name should have been found. It can be found in multiple places within the cluster.
kind: Cluster
kind: Node
Additional environment details (Operating System, Cloud provider, etc):