Skip to content

maxadd/k8s-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

对应四篇博文:

目前已经在 k8s 1.17.4 上面运行正常,随着 k8s 和 prometheus 版本的迭代,可能需要调整一些小的参数,但是大方向是不会变的。当然,用到的镜像的版本可能需要修改到最新。

注意,node_exporter 和 telegraf 需要二选一。个人推荐 telegraf,但是因为二者的指标名称完全不一样,会造成很多基于 node_exporter 的 dashboard,以及其他各种依赖 node_exporter 指标的告警规则的不兼容。如果你是一个怕麻烦的人,还是使用 node_exporter 吧,免得骂我。

prometheus-secret.yml 用到的三个证书是监控 etcd 用的,这三个文件位于 /etc/kubernetes/pki/etcd/,你需要用你的覆盖它,不会操作的看第二篇博文。当然如果你不打算监控 etcd 的话,就无所谓了。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published