会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大军军军之技术落地
责人之心责己、恕己之心恕人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
19
下一页
2025年7月15日
cloudfront 日志收集到阿里云的sls
摘要: aws的cloudfront 可以把访问日志采集到s3,aws也有日志查看的功能,但是用起来不不好用,而且每次查看日志的时候还要登陆aws的账号去查看。 考虑到业务日志也在阿里云的sls上,所以就把日志放到sls上做统一展示和查看 大致的架构 cloudfront -> s3 -> ecs(和sls
阅读全文
posted @ 2025-07-15 10:53 Hello_worlds
阅读(34)
评论(0)
推荐(0)
2025年7月14日
docker-compose 部署etcd用于go服务注册发现
摘要: 系统环境准备 cat /etc/issue Ubuntu 22.04.5 LTS uname -r 5.15.0-142-generic 2 apt update 3 apt install docker 5 apt install docker-compose docker-compose ver
阅读全文
posted @ 2025-07-14 10:58 Hello_worlds
阅读(62)
评论(0)
推荐(0)
2025年7月8日
k8s升级GPU节点驱动(ACK-4090)
摘要: https://www.nvidia.cn/geforce/drivers/ wget -c https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run wget -c
阅读全文
posted @ 2025-07-08 11:00 Hello_worlds
阅读(48)
评论(0)
推荐(0)
2025年6月28日
Prometheus + Grafana 监控阿里云域名与证书到期时间
摘要: 一、项目目标 通过 Prometheus + Grafana 实现对阿里云账号下所有一级域名的自动监控,涵盖以下内容: 获取一级域名列表及其解析记录 监控域名注册到期时间 监控域名对应 SSL 证书到期时间 指标统一采集至 Prometheus Grafana 实现可视化和告警 二、版本信息
阅读全文
posted @ 2025-06-28 00:23 Hello_worlds
阅读(159)
评论(0)
推荐(0)
2025年6月11日
nginx ingress 透传ip给后端服务
摘要: 用户的访问链路 域名-》dns-》nginx ingres-》后端服务 为什么要把ip透传给后端服务? 用户通过下面的方式在X-Forwarded-For加入了ip,导致后端服务会收到两个ip 2.1.1.1和用户的真实ip curl --location 'https://sumumu.top/s
阅读全文
posted @ 2025-06-11 11:23 Hello_worlds
阅读(164)
评论(0)
推荐(0)
2025年5月29日
01、内存使用率
摘要: 1、系统中 top中的内存使用率 =(used+shared)/total 2、promsql (node_memory_MemTotal_bytes{instance="$instance"} - node_memory_MemAvailable_bytes{instance="$instance
阅读全文
posted @ 2025-05-29 18:19 Hello_worlds
阅读(38)
评论(0)
推荐(0)
2025年5月27日
GPU 监控指标
摘要: exporter 指标 说明 示例 示例说明 gpu-exporter nvidia_gpu_num_devices 节点上GPU总数量 gpu-exporter nvidia_gpu_allocated_num_devices 节点已经分配的GPU数量 节点 nvidia_gpu_allocate
阅读全文
posted @ 2025-05-27 17:47 Hello_worlds
阅读(158)
评论(0)
推荐(0)
2025年4月3日
前端灰度发布
摘要: 1. 架构图 ✏️架构图说明 🔁 请求流程: 用户发起访问请求(含 UA / IP / Cookie) CloudFront Viewer Request 触发 Lambda 函数 校验 IP 是否在白名单中 判断 Cookie 或 Query 是否指定版本 根据分流比例(如 60% beta)选
阅读全文
posted @ 2025-04-03 11:16 Hello_worlds
阅读(239)
评论(0)
推荐(0)
2025年3月18日
cloudfront 301跳转到www
摘要: 用户访问 mumu.top 跳转到 www.mumu.top 实现的方式 1. nginx上的实现方式 server { listen 80; server_name mumu.top; return 301 https://www.mumu.top; } 2. aws上的实现方式 实现 原理其实使
阅读全文
posted @ 2025-03-18 12:30 Hello_worlds
阅读(573)
评论(0)
推荐(0)
2025年3月17日
304跳转如何避免
摘要: 1.什么是304跳转 当浏览器发起请求时,如果资源没有改变(例如文件没有被修改),服务器(OSS)就会返回 304 状态码给cdn,cdn再响应给用户。表示该资源自上次请求以来没有被修改过,客户端可以继续使用本地缓存的副本,而不需要重新下载资源。 2. 如何避免304跳转 2.1 如果是nginx代
阅读全文
posted @ 2025-03-17 16:52 Hello_worlds
阅读(514)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页
公告