会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄褐色的菊花怪
大大怪将军!!!
博客园
首页
新随笔
联系
订阅
管理
2026年11月3日
Ingress针对特定路径的重写和获取参数请求
摘要: ingress 配置特定路径的重写转发。 [root@vm ~]# tkubectl -n env-test get ingress front-business-ext2 -o yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata
阅读全文
posted @ 2026-11-03 16:16 Gshelldon
阅读(9)
评论(0)
推荐(0)
2026年10月23日
自定义nginx-php74的基础镜像
摘要: 这个版本有必要的包,主要是配置文件和依赖。 php的操作 php的容器镜像或者是自己构建的php一般分为两部分php-cli和php-fpm只有php-fpm是用来和nginx工作的。 php -v和php-fpm -v或者是-m 参数,如果是同一个版本编译出来的php-fpm会多一个很老的cgi的
阅读全文
posted @ 2026-10-23 16:08 Gshelldon
阅读(15)
评论(0)
推荐(0)
2026年10月21日
使用国内源安装K3S
摘要: 运行这个脚本的时候会默认的安装容器引擎。 INSTALL_K3S_VERSION="v1.21.3+k3s1" 指定版本安装 CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS=3650 指定证书的过期时间,默认是1年要轮转直接重启下k3s就可以了。 版本查询可以在http
阅读全文
posted @ 2026-10-21 10:44 Gshelldon
阅读(36)
评论(0)
推荐(0)
2026年9月4日
mysql8.0 docker部署
摘要: 运行命令 docker run -d \ --name mysql8 \ --restart=always \ -p 3307:3306 \ -e MYSQL_ROOT_PASSWORD=test123456 \ -e TZ=Asia/Shanghai \ -v /opt/mysql8/data:/
阅读全文
posted @ 2026-09-04 16:13 Gshelldon
阅读(33)
评论(0)
推荐(0)
2026年8月21日
自建平台CD发布技术选型
摘要: 第一步:技术选型 ArgoCD 两种使用模式 使用 Kustomize:推荐 GitOps 模式,版本在 Git 中控制;ArgoCD 检测到版本/模板变更自动触发发布,也支持手动同步。 使用 Helm:同样支持多版本控制。 各方案优缺点 Helm 优点:一套模板支持多次部署。 缺点:配置复杂,强依
阅读全文
posted @ 2026-08-21 17:02 Gshelldon
阅读(15)
评论(0)
推荐(0)
2026年8月10日
CentOS7 ipset + iptables限制国外IP访问
摘要: 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
阅读(32)
评论(0)
推荐(0)
2026年8月7日
ubuntu22安装k3s
摘要: 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
阅读(15)
评论(0)
推荐(0)
2026年6月29日
ubuntu22安装proxysql迁移数据
摘要: # 参考地址 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
阅读(18)
评论(0)
推荐(0)
2026年1月19日
nginx Ingress 限流Lua脚本
摘要: 可用于生产的版本配置已经添加好并且已经测试过功能。 针对客户端IP对单个域名的分钟级访问。 ingress-nginx cm配置文件 添加下面的配置,主要作用是把xforwardfor的客户端真实IP地址传给remote_address,脚本中的限频就是根据这个客户端的真实IP地址来的,添加set-
阅读全文
posted @ 2026-01-19 09:19 Gshelldon
阅读(49)
评论(0)
推荐(0)
2025年11月21日
netplan网卡配置
摘要: 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
阅读(30)
评论(0)
推荐(0)
下一页
公告