fix(ollama): fail over prod to local 111 while GCP endpoints are down
All checks were successful
CD Pipeline / tests (push) Successful in 57s
Code Review / ai-code-review (push) Successful in 30s
CD Pipeline / build-and-deploy (push) Successful in 3m25s
CD Pipeline / post-deploy-checks (push) Successful in 1m46s

This commit is contained in:
Your Name
2026-05-25 12:03:02 +08:00
parent 3aed1f3123
commit 6f1e788b67
2 changed files with 6 additions and 7 deletions

View File

@@ -17,11 +17,10 @@ data:
# 服務端點 (非機密)
# 2026-04-16 ogt + Claude Sonnet 4.6: 改指向 111GPU 機RTX
# 188 = CPU-only Ollama推理極慢>60s111 有 GPUavg 10s
# 2026-05-25 Codex: restore ADR-110 production runtime order via 110 proxy.
# Direct GCP IPs remain upstream targets; K8s uses 110:11435/11436/11437 so
# GCP-A → GCP-B → 111 is preserved before any paid-provider fallback.
OLLAMA_URL: "http://192.168.0.110:11435"
OLLAMA_SECONDARY_URL: "http://192.168.0.110:11436"
# 2026-05-25 Codex: emergency failover while both GCP-A and GCP-B refuse 11434.
# Keep all Ollama slots on the live 111 proxy until GCP SSH/Ollama is repaired.
OLLAMA_URL: "http://192.168.0.110:11437"
OLLAMA_SECONDARY_URL: "http://192.168.0.110:11437"
OLLAMA_FALLBACK_URL: "http://192.168.0.110:11437"
OPENCLAW_URL: "http://192.168.0.188:8088"
KALI_SCANNER_URL: "http://192.168.0.112:8080"

View File

@@ -70,9 +70,9 @@ spec:
- name: TELEGRAM_ENABLE_POLLING
value: "true"
- name: OLLAMA_URL
value: "http://192.168.0.110:11435" # 2026-05-25 Codex: GCP-A via 110 proxy
value: "http://192.168.0.110:11437" # 2026-05-25 Codex: emergency local 111 failover while GCP-A/B refuse 11434
- name: OLLAMA_SECONDARY_URL
value: "http://192.168.0.110:11436" # 2026-05-25 Codex: GCP-B via 110 proxy
value: "http://192.168.0.110:11437" # 2026-05-25 Codex: emergency local 111 failover while GCP-A/B refuse 11434
- name: OLLAMA_FALLBACK_URL
value: "http://192.168.0.110:11437" # 2026-05-25 Codex: 111 via 110 proxy before Gemini
- name: ALERT_AI_ALLOW_CLOUD_FALLBACK