摘要: 先阅读以下链接 https://iswbm.com/192.html 1.python有一个ansible-api的包,可以提供restful api接口,通过如下命令可以查询 pip search ansible-api#注意pip search可能在某些版本不能使用了,需要安装新的命令#pip 阅读全文
posted @ 2023-07-19 18:11 wdgde 阅读(514) 评论(0) 推荐(0)
摘要: 一.在线安装 1.安装依赖的第三方的epel源 yum install epel-release -y 安装第三方的epel源后可能会有如下报错 [root@localhost ansible]# yum list | grep ansible One of the configured repos 阅读全文
posted @ 2023-07-18 16:42 wdgde 阅读(38) 评论(0) 推荐(0)
摘要: 1.引入依赖 <!--postgresql--> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>42.2.2</version> </dependency> 2. 阅读全文
posted @ 2023-07-13 17:08 wdgde 阅读(85) 评论(0) 推荐(0)
摘要: 1.在使用powerjob的时候,启动项目有报netty相关ClassNotFoundException的问题 <dependency> <groupId>tech.powerjob</groupId> <artifactId>powerjob-client</artifactId> <versio 阅读全文
posted @ 2023-07-06 19:10 wdgde 阅读(427) 评论(0) 推荐(0)
摘要: 1.背景 springboot项目,引入nacos做配置中心,pom.yaml导入依赖 <dependency> <groupId>com.alibaba.boot</groupId> <artifactId>nacos-config-spring-boot-starter</artifactId> 阅读全文
posted @ 2023-07-06 19:00 wdgde 阅读(1374) 评论(0) 推荐(0)
摘要: 1.场景 集群B有一个应用要向集群A的kafka集群发送消息,但是集群A和集群B不是直接互通的,需要经过一层转发。 2.问题 kafka集群的地址: 10.10.10.1:9092 10.10.10.2:9092 10.10.10.3:9092 经过一层转发,集群B可以访问的kafka地址为: 90 阅读全文
posted @ 2023-06-03 17:39 wdgde 阅读(298) 评论(0) 推荐(0)
摘要: 1.github https://github.com/c4po/harbor_exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY harbor_ex 阅读全文
posted @ 2023-03-04 14:55 wdgde 阅读(115) 评论(0) 推荐(0)
摘要: 1.github https://github.com/prometheus/haproxy_exporter 2.hub.docker https://hub.docker.com/r/prom/haproxy-exporter 3.dockerfile FROM golang:1.17 ENV 阅读全文
posted @ 2023-01-04 20:01 wdgde 阅读(57) 评论(0) 推荐(0)
摘要: 1.github https://github.com/ofesseler/gluster_exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY glu 阅读全文
posted @ 2023-01-04 19:58 wdgde 阅读(98) 评论(0) 推荐(0)
摘要: 1.github https://github.com/mehdy/keepalived-exporter 2.dockerfile FROM golang:1.17 ENV GO111MODULE=on \ GOPROXY="https://goproxy.cn,direct" COPY keep 阅读全文
posted @ 2023-01-04 19:55 wdgde 阅读(208) 评论(0) 推荐(0)