在kubernetes集群上用helm安装Datadog(Monitoring)
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.
一、你需要准备的东西:
- 你需要有一个k8s集群,创建k8s集群的过程此处省略,方法多种,我目前使用的是Azure Container Service Engine.
- 需要创建一个Datadog账号 create an account
登陆到Datadog以后,按照此文档去安装Datadog agent。注意其中的datadog-agent.yaml 这个文件,把它copy出备用
二、安装过程:
kubectl create -f datadog-agent.yaml
sudo snap install helm
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
helm search
https://app.datadoghq.com/account/settings#api
helm install --name wbdatadog --set datadog.apiKey=5606443cd7359ac1ba6815**** stable/datadog
helm list
三、我们的基本结果:
成功后,登陆Datadog,能看到我们的k8s node list:
欢迎转载,注明出处。有任何问题和建议,欢迎留言讨论,也可以发我邮箱wenbya@outlook.com