我最近更新了DataDog以使用群集代理。我目前正在尝试设置 kubernetes集成。这应该是通过 auto_conf.yaml
发现的自动。但是由于某种原因,在更新群集代理时,我们通过Kubernetes集成丢失了指标。我的猜测是通过在 auto_conf.yaml
文件中添加 cluster_check:true
来将其设置为群集检查,但这无效。我目前只在节点代理上设置它,并像在此文档。是否需要做其他事情来与集群代理建立Kubernetes集成?
I have recently updated DataDog to use a Cluster Agent. I am currently trying to set up the Kubernetes integration. This should be an auto discovered through the auto_conf.yaml
. But for some reason when updating to the Cluster Agent we lost metrics through the kubernetes integration. My guess was to set it as a cluster check by adding cluster_check:true
in the auto_conf.yaml
file, but that did not work. I currently have it set up only on the node agents and configured just like it says in this documentation. Is there something else that needs to be done to set up the Kubernetes integration with a Cluster Agent?
发布评论
评论(1)
通过以下清单添加
kubernetes-stat-core
来解决问题。这使用 kube-state-metrics v2.0 < /a>。Solved the issue by adding
kubernetes-stat-core
via the following manifests. This is uses the kube-state-metrics v2.0.https://github.com/DataDog/datadog-agent/tree/main/Dockerfiles/manifests/kubernetes_state_core