1、添加helm源并更新
bash
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
2、创建namespace
bash
kubectl create namespace monitoring
3、安装Prometheus监控套装
bash
helm install prometheus prometheus-community/prometheus --namespace=monitoring

4、添加Prometheus-server的Ingresses并将地址接入granfana数据源。

5、导入Dashboard。
地址如下:StarsL.cn Dashboards | Grafana Labs
模版ID:13105
导入对应的模版选择添加的数据源即可
