摘要: cat k8s-events-elasticsearch.yaml # 采集k8s事件(events)到elasticsearch # https://github.com/AliyunContainerService/kube-eventer apiVersion: apps/v1 kind: D 阅读全文
posted @ 2024-07-05 16:34 Gshelldon 阅读(2) 评论(0) 推荐(0) 编辑
摘要: # redis7.2 安装部署 https://redis.io/download/ https://github.com/redis/redis/tree/7.2 wget https://github.com/redis/redis/archive/7.2.3.tar.gz redis-7.2. 阅读全文
posted @ 2024-07-05 16:29 Gshelldon 阅读(2) 评论(0) 推荐(0) 编辑
摘要: mysqlbinlog 命令行 常见的选项 mysqlbinlog常见的选项有一下几个: a、--start-datetime:从二进制日志中读取指定等于时间戳或者晚于本地计算机的时间。 b、--stop-datetime:从二进制日志中读取指定小于时间戳或者等于本地计算机的时间 取值和上述一样。 阅读全文
posted @ 2024-07-05 16:24 Gshelldon 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1、安装acme.sh curl https://get.acme.sh | sh -s email=business@kai.com ~]# ls /root/.acme.sh/ account.conf acme.sh acme.sh.csh acme.sh.env deploy dnsapi 阅读全文
posted @ 2024-06-26 11:35 Gshelldon 阅读(10) 评论(0) 推荐(0) 编辑
摘要: # gbk转成utf-8 iconv -f GB2312 -t UTF-8//IGNORE ecology -o ecology.log # linux到windows互转 dos2unix unix2dos 阅读全文
posted @ 2024-06-26 09:37 Gshelldon 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Haproxy 安装配置 官方文档参考https://docs.haproxy.org/ 四层的haproxy不支持把客户端真实的IP地址传到后端服务器。 1、安装 1.1 二进制编译安装。 https://github.com/haproxy/haproxy/releases/tag/v2.8.0 阅读全文
posted @ 2024-05-14 11:18 Gshelldon 阅读(9) 评论(0) 推荐(0) 编辑
摘要: redis 生产哨兵的测试 1、helm release的版本 helm repo add bitnami https://charts.bitnami.com/bitnami helm pull bitnami/redis --version 18.2.2 sentinel-redis]# ls 阅读全文
posted @ 2024-04-18 10:10 Gshelldon 阅读(23) 评论(0) 推荐(0) 编辑
摘要: helm 安装redis的主从、哨兵 主要的配置还是得看helm values中的注释说明 安装库 $ helm repo add bitnami https://charts.bitnami.com/bitnami # 查询redis资源 $ helm repo update $ helm sea 阅读全文
posted @ 2024-03-15 21:53 Gshelldon 阅读(105) 评论(0) 推荐(0) 编辑
摘要: ingress 注释常用功能总结 --annotations-prefix # 特定于 NGINX 控制器的入口注释的前缀。(默认“nginx.ingress.kubernetes.io”) 1、域名重定向 这个配置会把www.kailinhr.com跳转到www.zhuoliehr.com。 # 阅读全文
posted @ 2024-03-12 11:53 Gshelldon 阅读(85) 评论(0) 推荐(0) 编辑
摘要: systemctl disable myservice.service systemctl stop myservice.service systemctl status myservice.service rm -fr /usr/lib/systemd/system/myservice.servi 阅读全文
posted @ 2024-03-08 10:36 Gshelldon 阅读(87) 评论(0) 推荐(0) 编辑