Kubernetes 节点资源监控

监控 Kubernetes 节点级别的资源使用状况,包括运行在节点上的 Pod

Kubernetes 节点资源监控 screenshot 1
Kubernetes 节点资源监控 screenshot 2
Kubernetes 节点资源监控 screenshot 3
Kubernetes 节点资源监控 screenshot 4
Kubernetes 节点资源监控 screenshot 5

注意点

  1. 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 的操作

  2. prometheus 需要抓取 kubelet 上暴露的 cadvisor 指标 https://github.com/prometheus-community/helm-charts/blob/prometheus-25.8.2/charts/prometheus/values.yaml#L835-L874

  3. 需要部署 kube-state-metrics 提供 kube_ 相关指标

GitHub

https://github.com/togettoyou/CloudNative

Revisions
RevisionDescriptionCreated
Kubernetes

Kubernetes

by Grafana Labs
Grafana Labs solution

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

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies