Back to Hub

cargo.ayedo.cloud/ayedo/k8s/litellm 0.1.0 k8sapp MIT

LiteLLM AI Gateway: OpenAI-compatible proxy for LLM backends, virtual keys and MCP servers.

polycrate block pull cargo.ayedo.cloud/ayedo/k8s/litellm:0.1.0

LiteLLM

LiteLLM ist ein selbst gehostetes, OpenAI-kompatibles Gateway vor LLM-Providern, Virtual Keys/Teams/Spend und MCP-Servern.

Dieser Block installiert den offiziellen Helm-Chart ohne eingebettetes Postgres oder Redis. Data-Plane ist Ingress (Default-Pfad) oder opt-in Gateway API (Harbor-Muster, Envoy eg-shared). Models und MCP-Server gehören in die Admin-UI, nicht in die Hub-Defaults.

  • Block — cargo.ayedo.cloud/ayedo/k8s/litellm
  • Version — 0.1.0
  • Kind / Type / Flavor — k8sapp / ai / proxy
  • Chart — OCI oci://ghcr.io/berriai/litellm/chart/litellm 1.111.0 (App 1.111.0)
  • Icon — https://ayedo.de/media/icons/litellm.svg
  • Upstream — https://docs.litellm.ai/docs/simple_proxy

Beispiele: polycrate block examples litellm


Geschwister

Rolle Block
Postgres cargo.ayedo.cloud/ayedo/k8s/cloudnative-pg
Redis-kompatibel cargo.ayedo.cloud/ayedo/k8s/valkey

Install-Reihenfolge: DB → Valkey → polycrate run litellm install.


Konfiguration

Key Default Bedeutung
monolith true Ein Proxy-Deployment (Gateway + Admin-UI)
store_model_in_db true Models/MCP in der Admin-UI, nicht in proxy_config
master_key "" Muss mit sk- beginnen; Instanz / secrets.poly
salt_key "" LITELLM_SALT_KEY; nach dem ersten Model nicht rotieren
database.* / redis.* leer Externe CNPG-/Valkey-Verbindung
ingress.enabled false HAProxy/nginx Ingress. Nicht zusammen mit gateway.enabled
gateway.enabled false HTTPRoute + optional Gateway CR auf eg-shared
openai.api_key "" Optional in Env; Models trotzdem in der UI anlegen

HAProxy-Streaming: timeout-server / timeout-http-request Default 10m, proxy-body-size: "0". timeout-client bleibt Global-only.


Nutzung (nach Install)

  • Admin-UI: https://<host>/ui
  • OpenAI-API: https://<host>/v1 + Virtual Key
  • MCP-Gateway: https://<host>/mcp mit x-litellm-api-key: Bearer sk-…

Backplane public MCP in-cluster: http://backplane-mcp.backplane.svc.cluster.local/mcp/public — in der Admin-UI als MCP-Server eintragen, nicht im Helm-Values.


Abgrenzung

  • Kein Envoy-Install, keine Gateway-API-CRDs.
  • Kein Authentik-SSO in den Defaults (OSS-Limit).
  • Hub-Push erst auf Zuruf.