Datadog is a monitoring service that gathers monitoring data from your containers within your Azure Container Service cluster. Datadog has a Docker Integration Dashboard where you can see specific metrics within your containers. Metrics gathered from your containers are organized by CPU, Memory, Network and I/O. Datadog splits metrics into containers and images.

一、你需要准备的东西:

  1. 你需要有一个k8s集群,创建k8s集群的过程此处省略,方法多种,我目前使用的是Azure Container Service Engine.
  2. 需要创建一个Datadog账号 create an account

登陆到Datadog以后,按照此文档去安装Datadog agent。注意其中的datadog-agent.yaml 这个文件,把它copy出备用

二、安装过程:

kubectl create -f datadog-agent.yaml

在kubernetes集群上用helm安装Datadog(Monitoring)

安装Helm

sudo snap install helm

在kubernetes集群上用helm安装Datadog(Monitoring)

https://kubernetes-charts.storage.googleapis.com

helm init --upgrade -i registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.9.1 --stable-repo-url https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts

在kubernetes集群上用helm安装Datadog(Monitoring)

helm search

在kubernetes集群上用helm安装Datadog(Monitoring)

https://app.datadoghq.com/account/settings#api

helm install --name wbdatadog --set datadog.apiKey=5606443cd7359ac1ba6815**** stable/datadog

在kubernetes集群上用helm安装Datadog(Monitoring)

helm list

在kubernetes集群上用helm安装Datadog(Monitoring)

三、我们的基本结果:

成功后,登陆Datadog,能看到我们的k8s node list:
在kubernetes集群上用helm安装Datadog(Monitoring)

相关文章:

  • 2021-05-27
  • 2021-08-06
  • 2022-02-12
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2022-01-01
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2021-05-25
  • 2021-08-21
  • 2022-01-16
  • 2021-08-17
  • 2022-12-23
  • 2021-07-21
相关资源
相似解决方案