随笔分类 -  Prometheus

摘要: 阅读全文
posted @ 2024-01-15 10:43 lavida2000 阅读(8) 评论(0) 推荐(0) 编辑
摘要:早期 kubelet中集成cAdvisor,采集该节点的资源及容器相关指标,支持的指标包括 CPU,内存,网络吞吐量,文件系统使用率,并通过4194端口提供web ui. 阅读全文
posted @ 2022-02-10 10:04 lavida2000 阅读(38) 评论(0) 推荐(0) 编辑
摘要:prometheus-operator: 是通过CRD来部署和管理 Prometheus Server,同时监控这些自定义资源事件的变化来做相应的处理,是整个系统的控制中心。 Service: 简单的说就是 Prometheus 监控的对象 ServiceMonitor: (相当于exporter 阅读全文
posted @ 2022-02-07 16:25 lavida2000 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Histogram直方图,可以反应一段时间内,不通值的分布 阅读全文
posted @ 2021-10-13 15:11 lavida2000 阅读(98) 评论(0) 推荐(0) 编辑
摘要:prometheus-operator里的alertManager实例是通过服务发现的方式来做的 自定义rule apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule metadata: labels: prometheus: k8s r 阅读全文
posted @ 2021-09-24 16:25 lavida2000 阅读(168) 评论(0) 推荐(0) 编辑
摘要:kubectl -n monitoring create secret generic etcd-certs --from-file=/etc/kubernetes/pki/etcd/peer.crt --from-file=/etc/kubernetes/pki/etcd/peer.key --f 阅读全文
posted @ 2021-09-24 13:44 lavida2000 阅读(49) 评论(0) 推荐(0) 编辑
摘要:修改scheduler的监听地址 给 scheduler创建service, 便于monitor通过service的label找到pod apiVersion: v1 kind: Service metadata: namespace: kube-system name: kube-schedule 阅读全文
posted @ 2021-09-23 16:06 lavida2000 阅读(183) 评论(0) 推荐(0) 编辑
摘要:节点node: cpu使用率 内存使用率 网络使用率,带宽 tcp连接 集群监控 pod监控 pod重启 readiless 就绪检查 阅读全文
posted @ 2021-09-07 18:00 lavida2000 阅读(246) 评论(0) 推荐(0) 编辑
摘要:granfana https://blog.csdn.net/ccy19910925/article/details/86649518 prometheus.yaml.tmpl: |- global: scrape_interval: 5s evaluation_interval: 5s exter 阅读全文
posted @ 2021-08-20 16:01 lavida2000 阅读(71) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xxxxaayy/article/details/104989792 https://blog.csdn.net/u013256816/article/details/110251564 https://blog.csdn.net/yuanpan1987/ 阅读全文
posted @ 2021-08-18 15:43 lavida2000 阅读(64) 评论(0) 推荐(0) 编辑
摘要:![](https://img2020.cnblogs.com/blog/2281854/202108/2281854-20210815225528870-1549289257.png) 阅读全文
posted @ 2021-08-15 22:56 lavida2000 阅读(121) 评论(0) 推荐(0) 编辑
摘要:Thanos常用组件: 1,Thanos Query: 实现了 Prometheus API,将来自下游组件提供的数据进行聚合最终返回给查询数据的 client (如 grafana),类似数据库中间件。 2,Thanos Sidecar: 连接 Prometheus,将其数据提供给 Thanos 阅读全文
posted @ 2021-07-19 17:41 lavida2000 阅读(745) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示