본문 바로가기

Integrations

K8s에서 Datadog agent status 확인

https://docs.datadoghq.com/agent/guide/agent-commands/?tabs=agentv6v7 

 

SecretKey 확인

$k get secret/datadog-api -o json

$k get secret/datadog-api -o json | jq .data.token | base64 -d -i

 

Agent 상태 확인

$k exec $(kubectl get pods --no-headers -o custom-columns=":metadata.name" | grep datadog | head -n 1) -- agent status