Commit Graph
355 Commits
Author SHA1 Message Date
panxiao81andClaude Opus 5.5 45437f27d0 补回旧工作区中仅存于本地的 Backstage OIDC、DNS 与 agent 说明
ansible / collection-test (pull_request) Successful in 2m12s
yaml / yaml (pull_request) Successful in 2m27s
ansible / lint (pull_request) Successful in 2m48s
清理 chore/recover-old-workspace 时发现以下内容已在线上使用,却只存在于未提交的工作区:

- Authelia `backstage` OIDC client(与 helm 现网 values 逐键比对一致;仅含 pbkdf2 哈希,
  与既有 client 写法相同)。
- `backstage.ad.ddupan.top` A 记录(现网已解析到 192.168.10.127)。
- CLAUDE.md:VyOS `cli-shell-api showConfig` 尾随节点名不会过滤、会输出含密钥的完整配置。
- .agents/skills/homelab-knowledge:让 agent 查询与维护 homelab-wiki 的技能说明。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 17:30:07 +00:00
flux-bot 69d3476a6b chore(image): update zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:fadd1ac9eaec52eddf105a81f5750878ca1b6fe49e0c6a987c346e501c59b95d -> zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:da55be5c2f5c8b33de2d87ee0ef02edeacf52a349c8b19a5fac9be4152b2723d
yaml / yaml (push) Successful in 41s
2026-10-01 16:51:52 +00:00
panxiao81 6e4deb2d42 Merge pull request '修正共享 PG 计数器告警在新序列上的误报' (#174) from fix/shared-pg-sql-counter-new-series into main
yaml / yaml (push) Successful in 41s
Reviewed-on: #174
2026-10-01 16:46:02 +00:00
panxiao81 7f64c5d2b9 Merge pull request 'Hydra 为 iam-login /console 开启 CORS' (#175) from feat/iam-console-cors into main
yaml / yaml (push) Successful in 23s
Reviewed-on: #175
2026-10-01 16:45:43 +00:00
panxiao81andClaude Opus 5.5 5fd00be136 Hydra 为 iam-login /console 开启 CORS 并记录管理客户端登记
yaml / yaml (pull_request) Successful in 21s
iam-login 的 /console 是 Hydra public 客户端,浏览器直接向 Hydra
换取 token,因此 public 端口开启 CORS,只放行开发实例 origin,不放行
cookie 凭据;Gitea 等服务端客户端不受影响。README 记录 iam-admin-ui
经 Admin 带外登记的方法。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:42:07 +00:00
panxiao81andClaude Opus 5.5 2b382e1579 修正共享 PG 计数器告警在新序列上的误报
yaml / yaml (pull_request) Successful in 31s
MetricsQL 的 increase() 把新序列首个样本视为从 0 增长:#173 合并后 exporter
首次被抓取,laptop 上 2026-09-25 搭建期累计的 9 次归档失败被当成刚发生,
触发 SharedPostgresWalArchiveFailing。归档本身正常(切换后 .partial 已归档)。

归档失败、死锁、checkpoint 三条改为与 offset 相减:新序列返回空,
计数器重置得负值也不告警。promtool 按 Prometheus 语义执行,测不出这一差异,
新表达式已在 VictoriaMetrics 现网数据上核对为空;补充新序列与重置回归场景。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:41:04 +00:00
panxiao81 2c7dd224cf Merge pull request '新增共享 PG 的 SQL 级指标与 dev 告警分流' (#173) from feat/shared-pg-sql-metrics into main
yaml / yaml (push) Successful in 2m44s
ansible / collection-test (push) Successful in 4m51s
ansible / lint (push) Successful in 4m53s
Reviewed-on: #173
2026-10-01 16:33:05 +00:00
panxiao81andClaude Opus 5.5 943d31bf08 新增主库落在 pve1(HDD)时的回切提示告警
yaml / yaml (pull_request) Successful in 2m25s
ansible / lint (pull_request) Successful in 4m3s
ansible / collection-test (pull_request) Successful in 4m12s
自动切换后主库安全落到 pve1 不会触发无主/多主规则;2026-09-30 的切换一天无人察觉。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:30:45 +00:00
panxiao81andClaude Opus 5.5 954bb39a23 docs: 记录共享 PG SQL 级指标的部署与验证
ansible / collection-test (pull_request) Successful in 9m52s
yaml / yaml (pull_request) Failing after 10m40s
ansible / lint (pull_request) Successful in 12m38s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:20:16 +00:00
panxiao81andClaude Opus 5.5 549f82810e 修正 Patroni 已接收配置的判断:重启前预加载库行带 error 属预期
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:20:16 +00:00
panxiao81andClaude Opus 5.5 567b42ed13 修正 monitoring.yml 的 check 模式与 Patroni pending 判断
只读探测在 check 模式下照常执行;依赖真实执行结果的等待与验证在 check 模式跳过。
patronictl JSON 会省略空值字段,pending 判断先检查键是否存在。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:20:15 +00:00
panxiao81andClaude Opus 5.5 0cd4a67e12 新增共享 PG 的 SQL 级指标与 dev 告警分流
- 数据库主机上按实例运行 prometheus-community/postgres_exporter 0.20.1,
  以实例 OS 用户走本地 socket,经 peer + ident 映射到仅有 pg_monitor 的
  homelab_monitor 角色;无密码、不经 Bao。版本与官方 sha256sums.txt 同源。
- prod/dev 启用 pg_stat_statements;monitoring.yml 仅在未生效时 reload/重启
  (prod 走 Patroni pending restart),重复执行 changed=0。
- 告警以上游 postgres_mixin 为底改写为 PrometheusRule,阈值对齐 Patroni
  failover lag 与 max_slot_wal_keep_size;抓取目标带 env 标签。
- Alertmanager 新增 env="dev" 路由到独立 dev 频道,dev SQL 检查告警补 env。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:20:15 +00:00
flux-bot cd9d461950 chore(image): update zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:bbc8bacf373ae9009047d3bd00b885995efdd6d365452206d4ed5cf364912668 -> zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:fadd1ac9eaec52eddf105a81f5750878ca1b6fe49e0c6a987c346e501c59b95d
yaml / yaml (push) Successful in 18s
2026-10-01 16:16:46 +00:00
flux-bot a26e5bf214 chore(image): update zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:008a3ccf832c9ee061ef03766022789a7539bd9d001a658af2e9f3ff59a9a5cc -> zot.ad.ddupan.top/panxiao81/backstage:latest@sha256:bbc8bacf373ae9009047d3bd00b885995efdd6d365452206d4ed5cf364912668
yaml / yaml (push) Successful in 28s
2026-10-01 16:07:46 +00:00
panxiao81 186a0cb582 Merge pull request 'Backstage 通过 Flux image automation 自动部署 latest' (#172) from feat/backstage-image-automation into main
yaml / yaml (push) Successful in 30s
2026-10-01 16:06:35 +00:00
panxiao81andClaude Opus 5.5 7f5bef829f feat: deploy backstage latest via Flux image automation
yaml / yaml (pull_request) Successful in 23s
Install image-reflector and image-automation controllers, track the digest
behind backstage:latest, and let flux-bot commit digest updates to main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-01 16:05:13 +00:00
panxiao81 53e2854993 Merge pull request '将 Hydra 实验登录接至 Spring IAM 开发实例' (#168) from feat/iam-login-hydra-acceptance into main
yaml / yaml (push) Successful in 20s
Reviewed-on: #168
2026-10-01 14:40:20 +00:00
panxiao81 39768b2ace Merge pull request #171: 部署修复后的 Backstage 事件总线镜像
yaml / yaml (push) Successful in 19s
2026-09-29 16:31:37 +00:00
panxiao81 d5a191b7d7 deploy: upgrade fixed Backstage event bus image
yaml / yaml (pull_request) Successful in 14s
2026-09-29 16:31:22 +00:00
panxiao81 6b969b1c81 Merge pull request #170: 回退 Backstage externalAccess 配置错误镜像
yaml / yaml (push) Successful in 41s
2026-09-29 16:00:38 +00:00
panxiao81 fdad8ebc3d fix: rollback Backstage external access config
yaml / yaml (pull_request) Successful in 35s
2026-09-29 16:00:24 +00:00
panxiao81 5ea0e20897 Merge pull request #169: 升级 Backstage 事件总线镜像
yaml / yaml (push) Successful in 32s
2026-09-29 15:57:49 +00:00
panxiao81 37cbc51629 deploy: upgrade Backstage event bus image
yaml / yaml (pull_request) Successful in 18s
2026-09-29 15:57:24 +00:00
panxiao81 61674df541 将 Hydra 实验登录回调接至 Spring IAM 开发实例
yaml / yaml (pull_request) Successful in 26s
2026-09-29 15:45:21 +00:00
panxiao81 78a73d80aa revert: 撤回超出数据库任务范围的 Ayatori 接入文档修改 2026-09-27 18:02:49 +00:00
panxiao81 b6c6287ae3 docs: 明确数据库环境隔离交付与控制面职责边界 2026-09-27 17:58:27 +00:00
panxiao81 7da5bc1181 docs: 记录共享数据维护告警 GitOps 接管结果 2026-09-27 17:38:13 +00:00
panxiao81 589c34ee60 Merge pull request '补齐共享 etcd/PG 的备份、证书续签及 dev 健康告警' (#166) from feat/shared-pg-health into main
yaml / yaml (push) Successful in 56s
ansible / collection-test (push) Successful in 2m16s
ansible / lint (push) Successful in 2m52s
Reviewed-on: #166
2026-09-27 17:35:27 +00:00
panxiao81 396109d462 docs: 明确 exporter 升级方式与 PrometheusRule 声明 2026-09-27 17:29:49 +00:00
panxiao81 0d633cf0cc fix: 使用 PrometheusRule 并按 exporter 版本获取官方校验和
yaml / yaml (pull_request) Successful in 51s
ansible / collection-test (pull_request) Successful in 2m28s
ansible / lint (pull_request) Successful in 4m5s
2026-09-27 17:29:40 +00:00
panxiao81 26a8ffed83 docs: 补充共享数据维护监控与告警排障 2026-09-27 17:07:34 +00:00
panxiao81 0988f5c37e feat: 补齐共享数据备份、证书续签与开发实例监控
yaml / yaml (pull_request) Successful in 27s
ansible / collection-test (pull_request) Successful in 1m59s
ansible / lint (pull_request) Successful in 3m14s
2026-09-27 17:05:24 +00:00
panxiao81 06943d4c65 将 laptop ZFS ARC 预算限制为 4 GiB
yaml / yaml (push) Successful in 25s
Co-authored-by: panxiao81 <[email protected]>
2026-09-27 03:31:25 +00:00
panxiao81 f5c8c09f96 允许 Envoy 后端协商 TLS 1.3 以接入 Incus
yaml / yaml (push) Successful in 2m45s
Co-authored-by: panxiao81 <[email protected]>
2026-09-25 21:12:10 +00:00
panxiao81 7137426e8f 补齐 OpenBao 内部健康与快照新鲜度告警
yaml / yaml (push) Successful in 1m28s
ansible / collection-test (push) Successful in 2m27s
ansible / lint (push) Successful in 8m18s
Co-authored-by: panxiao81 <[email protected]>
2026-09-25 20:59:36 +00:00
panxiao81 834f654941 接入 OpenBao 受鉴权监控并修复快照续期 (#162)
yaml / yaml (push) Successful in 35s
terraform / validate (push) Successful in 1m43s
ansible / collection-test (push) Successful in 1m55s
ansible / lint (push) Successful in 2m48s
Co-authored-by: panxiao81 <[email protected]>
2026-09-25 20:39:31 +00:00
panxiao81 52322116f9 docs: 确认共享数据库监控由 Flux 接管 2026-09-25 19:51:35 +00:00
panxiao81 f6d12d673a Merge pull request '纳管共享 etcd 与 k3s 外 PostgreSQL 高可用、备份及 Ayatori 接入声明' (#159) from feat/shared-postgresql-etcd into main
yaml / yaml (push) Failing after 13m25s
ansible / collection-test (push) Failing after 13m36s
terraform / validate (push) Successful in 13m21s
ansible / lint (push) Successful in 18m35s
Reviewed-on: #159
2026-09-25 19:48:49 +00:00
panxiao81 67d4869c88 merge: 合入 main 并保留两侧监控资源声明
ansible / collection-test (pull_request) Successful in 13m2s
yaml / yaml (pull_request) Successful in 13m2s
terraform / validate (pull_request) Failing after 14m25s
ansible / lint (pull_request) Successful in 15m50s
2026-09-25 19:47:41 +00:00
panxiao81 655ca567ba 避免 OCI HelmRepository 无 Ready 条件误报 (#161)
yaml / yaml (push) Successful in 43s
Co-authored-by: panxiao81 <[email protected]>
2026-09-25 19:39:47 +00:00
panxiao81 b75043cb45 补齐证书、秘密同步、GitOps 与数据服务监控 (#160)
yaml / yaml (push) Successful in 2m53s
Co-authored-by: panxiao81 <[email protected]>
2026-09-25 19:36:30 +00:00
panxiao81 3a2fe5fa0c feat: 纳管共享 etcd 与 k3s 外 PostgreSQL 高可用及备份
yaml / yaml (pull_request) Successful in 41s
ansible / collection-test (pull_request) Successful in 2m41s
terraform / validate (pull_request) Successful in 2m41s
ansible / lint (pull_request) Successful in 4m36s
2026-09-25 19:34:48 +00:00
panxiao81 acd4b55722 docs: 记录共享 etcd 与外置 PostgreSQL 部署和接入边界 2026-09-25 19:31:14 +00:00
panxiao81 235288189d Merge 更新 OpenSandbox Pool runner 镜像
yaml / yaml (push) Successful in 23s
2026-09-25 19:29:32 +00:00
panxiao81 15676a6a06 fix: 更新 OpenSandbox Pool runner 镜像
yaml / yaml (pull_request) Successful in 29s
2026-09-25 19:27:59 +00:00
panxiao81 18ded1e4a8 Merge 原子部署解耦后的 dynamic runner 镜像
yaml / yaml (push) Successful in 4m32s
2026-09-25 19:12:07 +00:00
panxiao81 ca0862fe5a fix: 原子部署解耦后的 controller 与 runner
yaml / yaml (pull_request) Failing after 10m54s
2026-09-25 19:11:39 +00:00
panxiao81 a729f01546 Merge 部署修复后的 dynamic runner placement v2
yaml / yaml (push) Successful in 17s
2026-09-25 18:54:41 +00:00
panxiao81 bbcd5d6aa5 fix: 部署合法 consumer 名称的 placement v2
yaml / yaml (pull_request) Successful in 20s
2026-09-25 18:53:23 +00:00
panxiao81 c0c4ff521b Merge pull request '部署 dynamic runner placement v2' (#154) from deploy/workload-placement-v2 into main
yaml / yaml (push) Successful in 31s
Reviewed-on: #154
2026-09-25 18:37:40 +00:00