Kubernetes 节点资源监控
监控 Kubernetes 节点级别的资源使用状况,包括运行在节点上的 Pod
注意点
prometheus 抓取 node_exporter 指标的配置默认使用 https://github.com/prometheus-community/helm-charts/blob/prometheus-25.8.2/charts/prometheus/values.yaml#L896-L935 ,需要对
__meta_kubernetes_pod_node_name
label 进行replace
替换为node
label 的操作prometheus 需要抓取 kubelet 上暴露的 cadvisor 指标 https://github.com/prometheus-community/helm-charts/blob/prometheus-25.8.2/charts/prometheus/values.yaml#L835-L874
需要部署 kube-state-metrics 提供
kube_
相关指标
GitHub
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |
Kubernetes
Monitor your Kubernetes deployment with prebuilt visualizations that allow you to drill down from a high-level cluster overview to pod-specific details in minutes.
Learn more