fix(ops): bring drift scanner under gitops
This commit is contained in:
@@ -6,6 +6,17 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-05-05 | drift-scanner CronJob 納入 ArgoCD baseline
|
||||
|
||||
**背景**:重開機恢復後,K8s Deployments 與三個新納入的 CronJob 已跟到最新 image,但 `drift-scanner` 仍是手動套用的舊固定 SHA,會造成「服務健康、排程吃舊版」的冷啟動盲區。
|
||||
|
||||
**本次修補**:
|
||||
- 將 `drift-scanner` manifest 移入 `k8s/awoooi-prod/12-cronjob-drift-scanner.yaml`,由 `k8s/awoooi-prod/kustomization.yaml` 納入 ArgoCD 管理。
|
||||
- `drift-scanner` image 改用 `192.168.0.110:5000/library/api:IMAGE_TAG_PLACEHOLDER`,讓 CD 的 kustomize image 注入同時覆蓋 drift 排程。
|
||||
|
||||
**驗證**:
|
||||
- `kubectl kustomize k8s/awoooi-prod` 通過,build output 中 `drift-scanner` image 會被解析為目前 kustomization 的 `awoooi/api:c4854bb3...`。
|
||||
|
||||
## 2026-05-05 | 重開機後排程與 startup baseline 修復
|
||||
|
||||
**背景**:四台主機非預期重開機後,統帥要求確認所有服務、網站、工具、資料庫與排程都能正常恢復,不能只看容器 `healthy`。
|
||||
|
||||
Reference in New Issue
Block a user