cnych / qikqiak.com

关注 chatgpt、容器、kubernetes、devops、python、golang、微服务等技术 🎉🎉🎉

Home Page:https://www.qikqiak.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus 监控外部 Kubernetes 集群

cnych opened this issue · comments

https://www.qikqiak.com/post/monitor-external-k8s-on-prometheus/

前面我们的文章中都是将 Prometheus 安装在 Kubernetes 集群中来采集数据,但是在实际环境中很多企业是将 Prometheus 单独部署在集群外部的,甚至直接监控多个 Kubernetes 集群,虽然不推荐这样去做,因为 Prometheus 采集的数据量太大,或大量消耗资源,比较推荐的做法是用不同的 Prometheus 实例监控不同的集群,然后用联邦的方式进行汇总。但是使用 Prometheus 监控外部的 Kubernetes 集群这个需求还是非常有必要的。