fix(llm): make API URL configurable for Kubernetes internal service
ci / test (push) Successful in 1m51s

Issue: Orchestrator pods failing with 'api.riotpiao.com is unreachable'
- URL was hardcoded to external hostname
- Inside Kubernetes cluster, needs to use internal service DNS

Changes:
- Make LocalLLMBaseURL read from LOCAL_LLM_BASE_URL env var
- Default to 'https://api.riotpiao.com' for external deployments
- Update orchestrator-job.yaml to pass internal service: http://api-gateway.api:8080
- Update worker-deployment.yaml to use same internal service URL

This allows pods to reach the LLM API via Kubernetes DNS without external network access.
This commit is contained in:
Test
2026-08-31 14:49:30 -07:00
parent 9b9e99da3e
commit db71919207
4 changed files with 20 additions and 7 deletions
+2 -2
View File
@@ -9,6 +9,6 @@ metadata:
app.kubernetes.io/name: poimen
app.kubernetes.io/component: orchestrator
data:
GIT_COMMIT: "166674d" # Updated automatically by CI/CD
GIT_COMMIT: "74a8f2e8" # Updated automatically by CI/CD
GIT_BRANCH: "main"
DEPLOYMENT_DATE: "2026-08-30"
DEPLOYMENT_DATE: "2026-08-31"