fix(reboot): add edge maintenance fallback apply gate
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 56s
CD Pipeline / build-and-deploy (push) Successful in 4m16s
CD Pipeline / post-deploy-checks (push) Successful in 1m39s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 56s
CD Pipeline / build-and-deploy (push) Successful in 4m16s
CD Pipeline / post-deploy-checks (push) Successful in 1m39s
This commit is contained in:
@@ -7,22 +7,22 @@
|
||||
# 日期: 2026-03-21
|
||||
#
|
||||
# 後端架構:
|
||||
# - 前端 (Next.js): K3s NodePort 192.168.0.120:32335
|
||||
# - API (FastAPI): K3s NodePort 192.168.0.120:32334
|
||||
# - 前端 (Next.js): K3s VIP 192.168.0.125:32335
|
||||
# - API (FastAPI): K3s VIP 192.168.0.125:32334
|
||||
#
|
||||
# ⚠️ 警告: 絕對不允許出現 Legacy 系統的 Port (31234/31235)
|
||||
# =============================================================================
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Upstream 定義 (K3s NodePort)
|
||||
# Upstream 定義 (K3s VIP)
|
||||
# -----------------------------------------------------------------------------
|
||||
upstream awoooi_web {
|
||||
server 192.168.0.120:32335;
|
||||
server 192.168.0.125:32335;
|
||||
keepalive 32;
|
||||
}
|
||||
|
||||
upstream awoooi_api {
|
||||
server 192.168.0.120:32334;
|
||||
server 192.168.0.125:32334;
|
||||
keepalive 64;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ def test_public_maintenance_fallback_sources_stay_on_controlled_runtime_profile(
|
||||
"ops/maintenance/maintenance.html)",
|
||||
"ops/maintenance/nginx-502-maintenance-snippet.conf)",
|
||||
"ops/nginx/awoooi.wooo.work.conf)",
|
||||
"scripts/reboot-recovery/public-maintenance-edge-fallback-apply.sh)",
|
||||
"scripts/reboot-recovery/public-maintenance-fallback-probe.py)",
|
||||
"scripts/reboot-recovery/tests/test_reboot_p0_operational_contract.py)",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user