# node-export 介绍
node-export 主要主要是监控kubernetes 集群node 物理主机:cpu、memory、network、disk 等基础监控资源。
使用daemonset 方式 自动为每个node部署监控agent。
# tree node-exporter/
node-exporter/
├── node-exporter-daemonset.yaml
├── node-exporter-service.yaml
└── prometheus-k8s-service-monitor-node-exporter.yaml
创建node-export 服务
kubectl apply -f node-exporter/
查看 pod 是状态
# kubectl get pod -n monitoring
NAME READY STATUS RESTARTS AGE
kube-state-metrics-678d94f978-nv4g5 2/2 Running 0 19h
node-exporter-xm9cl 1/1 Running 0 1m
prometheus-k8s-0 2/2 Running 0 18h
prometheus-k8s-1 2/2 Running 0 18h
prometheus-operator-68589bfbfd-pq4d4 1/1 Running 0 18h
rbd-provisioner-698ddf4568-d57l2 1/1 Running 0 18h
查看prometheus target状态
![node-export](https://box.kancloud.cn/1e27c00514039528a1c93e5e47b7f106_1445x641.png)