摘要: 第一步:技术选型 ArgoCD 两种使用模式 使用 Kustomize:推荐 GitOps 模式,版本在 Git 中控制;ArgoCD 检测到版本/模板变更自动触发发布,也支持手动同步。 使用 Helm:同样支持多版本控制。 各方案优缺点 Helm 优点:一套模板支持多次部署。 缺点:配置复杂,强依 阅读全文
posted @ 2026-08-21 17:02 Gshelldon 阅读(2) 评论(0) 推荐(0)
摘要: CentOS7 ipset + iptables限制国外IP访问 ipset -version yum install -y ipset wget 优化核心参数 vi /etc/sysctl.conf vm.swappiness=0 net.ipv4.tcp_max_tw_buckets=5000 阅读全文
posted @ 2026-08-10 09:04 Gshelldon 阅读(5) 评论(0) 推荐(0)
摘要: ubuntu22.04 1.修改crgoup v1 2.打开内核转发。 3.安装k3s,会自动安装containerd curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_VERSION="v1.2 阅读全文
posted @ 2026-08-07 11:22 Gshelldon 阅读(2) 评论(0) 推荐(0)
摘要: # 参考地址 http://proxysql.com/documentation/installing-proxysql apt-get install -y --no-install-recommends lsb-release wget apt-transport-https ca-certif 阅读全文
posted @ 2026-06-29 22:24 Gshelldon 阅读(4) 评论(0) 推荐(0)
摘要: 可用于生产的版本配置已经添加好并且已经测试过功能。 针对客户端IP对单个域名的分钟级访问。 ingress-nginx cm配置文件 添加下面的配置,主要作用是把xforwardfor的客户端真实IP地址传给remote_address,脚本中的限频就是根据这个客户端的真实IP地址来的,添加set- 阅读全文
posted @ 2026-01-19 09:19 Gshelldon 阅读(35) 评论(0) 推荐(0)
摘要: root@tpl-ops:~# cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: ens160: dhcp4: false 阅读全文
posted @ 2025-11-21 13:47 Gshelldon 阅读(21) 评论(0) 推荐(0)
摘要: wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb percona- 阅读全文
posted @ 2025-07-02 09:13 Gshelldon 阅读(109) 评论(0) 推荐(0)
摘要: 主要是记录编译部分 # 镜像很小,打包好之后只有600多M webdevops/php-nginx:8.1-alpine php -v 8.1 install-swoole.sh #!/bin/bash apk update apk add --no-cache autoconf gcc g++ a 阅读全文
posted @ 2025-02-12 13:44 Gshelldon 阅读(257) 评论(0) 推荐(0)
摘要: nginx中间人代理实现七层https代理后端https cat alijms.esb.com.conf server { listen 443 ssl; server_name alijms.esb.com; ssl_certificate certs/esb.com.pem; ssl_certi 阅读全文
posted @ 2024-12-17 11:55 Gshelldon 阅读(82) 评论(0) 推荐(0)
摘要: postgres 读书笔记 第1章 预写日志 预写日志在客户端写入数据的时候首先写入预写日志中,从原理上来说因为是顺序写性能会更好。 预写日志的配置。 在编译安装的时候可以指定--with-wal-segsize=size修改默认的预写日志文件大小。 wal_level=replica fsync= 阅读全文
posted @ 2024-11-19 16:27 Gshelldon 阅读(115) 评论(0) 推荐(0)