上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 创建数据库账号 create user 'mysql_exporter'@'localhost' IDENTIFIED BY 'imnot007*'; GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'mysql_exporter'@'loca 阅读全文
posted @ 2022-08-12 13:31 Maniana 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 部署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 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 制作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 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 部署 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 阅读(280) 评论(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 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 三台主机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 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 提前部署好二进制的prometheus,查找之前的博客里有笔记。 在k8s上获取token kubectl get serviceaccounts -n monitoring kubectl get serviceaccounts monitor -n monitoring -o yaml kube 阅读全文
posted @ 2022-08-10 16:59 Maniana 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 创建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 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 创建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 阅读(337) 评论(0) 推荐(0) 编辑
摘要: ### 架构示意图 ##### 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 阅读(289) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页