会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Maniana
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
下一页
2022年8月12日
prometheus监控k8s中的redis
摘要: 部署redis和redis-exporter [root@k8s-master yaml]# kubectl apply -f redis-deployment.yaml [root@k8s-master yaml]# kubectl apply -f redis-exporter-svc.yaml
阅读全文
posted @ 2022-08-12 10:56 Maniana
阅读(560)
评论(0)
推荐(0)
2022年8月11日
prometheus监控tomcat
摘要: 制作tomcat镜像 [root@k8s-master tomcat-image]# ll total 473764 -rwxr-xr-x 1 root root 126 Aug 11 18:06 build-command.sh -rw-r--r-- 1 root root 697 Jun 12
阅读全文
posted @ 2022-08-11 19:19 Maniana
阅读(632)
评论(0)
推荐(0)
部署kube-state-metrics
摘要: 部署 kubectl apply -f case5-kube-state-metrics-deploy.yaml [root@k8s-master case]# cat case5-kube-state-metrics-deploy.yaml apiVersion: apps/v1 kind: De
阅读全文
posted @ 2022-08-11 16:39 Maniana
阅读(309)
评论(0)
推荐(0)
基于文件的服务发现
摘要: 创建json配置文件 # mkdir /apps/prometheus/file_sd -p # vim /apps/prometheus/file_sd/sd_my_server.json [ { "targets": ["10.0.0.6:9100"] } ] 编辑prometheus文件添加j
阅读全文
posted @ 2022-08-11 15:08 Maniana
阅读(31)
评论(0)
推荐(0)
部署consul集群
摘要: 三台主机IP分别是10.0.0.17 10.0.0.6 10.0.0.15 配置consul wget https://releases.hashicorp.com/consul/1.13.0/consul_1.13.0_linux_amd64.zip mv consul_1.13.0_linux_
阅读全文
posted @ 2022-08-11 14:29 Maniana
阅读(146)
评论(0)
推荐(0)
2022年8月10日
prometheus部署在k8s集群以外并实现服务发现
摘要: 提前部署好二进制的prometheus,查找之前的博客里有笔记。 在k8s上获取token kubectl get serviceaccounts -n monitoring kubectl get serviceaccounts monitor -n monitoring -o yaml kube
阅读全文
posted @ 2022-08-10 16:59 Maniana
阅读(544)
评论(0)
推荐(0)
deployment部署prometheus server
摘要: 创建configmap [root@k8s-master case]# kubectl apply -f case3-1-prometheus-cfg.yaml configmap/prometheus-config created [root@k8s-master case]# cat case3
阅读全文
posted @ 2022-08-10 10:14 Maniana
阅读(194)
评论(0)
推荐(0)
2022年8月9日
使用Grafana、Prometheus和cAdvisor监控kubernetes中的container
摘要: 创建ns kubectl create ns monitoring 提前准备好镜像gcr.io/cadvisor/cadvisor:v0.39.3 部署 cAdvisor模式 kubectl apply -f case1-daemonset-deploy-cadvisor.yaml [root@k8
阅读全文
posted @ 2022-08-09 16:21 Maniana
阅读(440)
评论(0)
推荐(0)
使用Prometheus和Grafana监控Envoy Mesh
摘要: ### 架构示意图 ##### Envoy Mesh使用的网络: 172.31.79.0/24 ##### 10个Service: - front-envoy:Front Proxy,地址为172.31.79.10- 6个后端服务 - service_a_envoy和service_a:对应于Env
阅读全文
posted @ 2022-08-09 13:02 Maniana
阅读(405)
评论(0)
推荐(0)
使用Jaeger追踪Envoy Mesh
摘要: 环境信息 ##### Envoy Mesh使用的网络: 172.31.88.0/24 ##### 8个Service: - front-envoy:Front Proxy,地址为172.31.88.10- 6个后端服务 - service_a_envoy和service_a:对应于Envoy中的se
阅读全文
posted @ 2022-08-09 12:20 Maniana
阅读(96)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
下一页
公告