grafana安装DevOpsProdigy KubeGraf 1.5.2

安装DevOpsProdigy KubeGraf需要安装kube-state-metrics

官方地址:https://github.com/kubernetes/kube-state-metrics/tree/release-2.10/examples/standard

查看k8s版本和kube-state-metrics对应版本:

复制代码
[root@master1 kube-state-metrics]# ll
总用量 20
-rw-r--r-- 1 root root  419 1月  31 16:36 cluster-role-binding.yaml
-rw-r--r-- 1 root root 1951 1月  31 16:36 cluster-role.yaml
-rw-r--r-- 1 root root 1560 2月   1 11:39 deployment.yaml
-rw-r--r-- 1 root root  271 1月  31 16:36 service-account.yaml
-rw-r--r-- 1 root root  528 2月   1 11:29 service.yaml
[root@master1 kube-state-metrics]# kubectl apply -f .

问题:

kube-state-metrics一直是pullimages状态

解决:

复制代码
[root@master1 kube-state-metrics]# vim deployment.yaml
...
    spec:
      automountServiceAccountToken: true
      containers:
	  #将地址改成docker上可以下载的地址
      #- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.10.1
	  - image: docker.io/bitnami/kube-state-metrics:2.10.1
...

DevOpsProdigy KubeGraf 1.5.2安装

相关推荐
行者-全栈开发2 天前
TIG 监控体系搭建:Telegraf + InfluxDB + Grafana 全链路实战
grafana·influxdb·服务器监控·tig·docker部署·监控系统·telegraf
Elastic 中国社区官方博客3 天前
将你的 Grafana Kubernetes 仪表板迁移到 Elastic Observability:相同的 PromQL,30 倍更快的查询
大数据·人工智能·elasticsearch·搜索引擎·容器·kubernetes·grafana
做个文艺程序员5 天前
Linux第24篇:Java应用监控体系搭建:Prometheus+Grafana可视化运维
java·grafana·prometheus
取谖慕12.7 天前
Prometheus+Alertmanager+node_exporter+grafana高可用
linux·运维·grafana·prometheus
爱莉希雅&&&8 天前
Prometheus高可用(alertmanager+node_exporter+grafana)
运维·服务器·grafana·prometheus
行者-全栈开发9 天前
【码动四季】Spring Boot 可观测性体系:Micrometer + OpenTelemetry + Grafana 全链路搭建
grafana·opentelemetry·micrometer·全链路追踪·分布式追踪·atomcode·spring boot可观测性
todoitbo10 天前
让数据看板随时可见:Grafana + cpolar 远程访问实战
ui·网络安全·grafana·数据看板·远程访问
维C°11 天前
Grafana实例-Gauge仪表盘面板
grafana
微三云 - 廖会灵 (私域系统开发)11 天前
电商系统监控告警体系从0到1:Prometheus+Grafana+AlertManager的全链路可观测性实践
oracle·grafana·prometheus
维C°12 天前
Grafana-Text面板
grafana