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安装

相关推荐
博同学4 天前
Nginx + ELK + Grafana 全球访问热力图
nginx·elk·grafana
JAVA拾贝4 天前
Prometheus+Grafana运维监控并实现钉钉告警
运维·钉钉·grafana·prometheus·运维监控
微风◝4 天前
12. grafana-Dashboard的Variable(过滤)使用
grafana
不太聪明的样子18 天前
c++ 项目使用 prometheus + grafana 进行实时监控
c++·grafana·prometheus
Detachym23 天前
CentOS下的运维监控Grafana部署
运维·centos·grafana
南夏一木子24 天前
性能测试——搭建Prometheus+Grafana平台
grafana·prometheus
奈斯ing24 天前
【prometheus+Grafana篇】基于Prometheus+Grafana实现postgreSQL数据库的监控与可视化
运维·数据库·信息可视化·grafana·prometheus
xixingzhe225 天前
docker compose安装Prometheus、Grafana
docker·grafana·prometheus
碧水澜庭1 个月前
Prometheus+ Grafana 监控系统入门
grafana·prometheus
遇见火星1 个月前
一键部署Prometheus+Grafana+alertmanager对网站状态进行监控
grafana·prometheus