在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.

1、你須要準備的東西:

  1. 你須要有一個k8s集羣,建立k8s集羣的過程此處省略,方法多種,我目前使用的是Azure Container Service Engine.
  2. 須要建立一個Datadog帳號 create an account

登錄到Datadog之後,按照此文檔去安裝Datadog agent。注意其中的datadog-agent.yaml 這個文件,把它copy出備用node

2、安裝過程:

kubectl create -f datadog-agent.yaml

安裝Helmgit

sudo snap install helm

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

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#apidocker

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

helm list

3、咱們的基本結果:

成功後,登錄Datadog,能看到咱們的k8s node list:
shell

相關文章
相關標籤/搜索