fix(stt): joindre LiteLLM en IP directe (192.168.10.1:4000) (#6)

L'indirection litellm-ext (Service sans sélecteur + Endpoints manuel) ne routait pas
('All connection attempts failed'). open-webui joint LiteLLM en IP directe — on copie
ce pattern éprouvé et on supprime litellm-external.yaml.


Claude-Session: https://claude.ai/code/session_013FmcxGsyXZXogiAHQLjnZT

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
ALI YESILKAYA 2026-06-17 13:19:51 +02:00 committed by GitHub
parent 35f37bd293
commit 47936b0088
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 36 deletions

View file

@ -33,9 +33,9 @@ spec:
ports:
- containerPort: 8000
env:
# LiteLLM (s01) joint via le Service Endpoints litellm-ext
# LiteLLM (s01) joint en IP directe — même pattern qu'open-webui
- name: STT_LITELLM_URL
value: "http://litellm-ext:4000/v1/chat/completions"
value: "http://192.168.10.1:4000/v1/chat/completions"
- name: STT_LITELLM_KEY
value: "lm-studio"
- name: STT_MODEL

View file

@ -1,22 +0,0 @@
# LiteLLM tourne sur storage-01 (HORS cluster) — on l'expose comme un Service interne
# via un Service sans sélecteur + Endpoints manuel pointant vers l'IP LAN cluster de s01.
apiVersion: v1
kind: Service
metadata:
name: litellm-ext
namespace: ai
spec:
ports:
- port: 4000
targetPort: 4000
---
apiVersion: v1
kind: Endpoints
metadata:
name: litellm-ext
namespace: ai
subsets:
- addresses:
- ip: 192.168.10.1 # storage-01, IP LAN cluster (cf. CLAUDE.md)
ports:
- port: 4000