fix(llm): make API URL configurable for Kubernetes internal service
ci / test (push) Successful in 1m51s
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:
@@ -52,6 +52,8 @@ spec:
|
||||
secretKeyRef:
|
||||
name: poimen-secrets
|
||||
key: ANTHROPIC_API_KEY
|
||||
- name: LOCAL_LLM_BASE_URL
|
||||
value: "http://api-gateway.api:8080"
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
|
||||
Reference in New Issue
Block a user