mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 10:14:42 +02:00
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:
parent
35f37bd293
commit
47936b0088
6 changed files with 14 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue