Files
traefik-llmgateway/examples/standalone/kustomization.yaml
T
lukaszraczyloandGitHub e667b6ec69 docs(examples): add a standalone Kubernetes deployment (#13)
examples/standalone is a kustomization for the compiled gateway with restart draining, a configMapGenerator config, placeholder Secrets and an optional Traefik route.
TestHandleChat_RequestLimitExceeded_BodyNeverRead now pins the limiter clock and uses an unreachable local upstream, so it no longer flakes at a minute boundary or calls api.openai.com.
2026-11-26 19:42:48 +00:00

23 lines
795 B
YAML

# Standalone LLM Gateway on Kubernetes: the compiled binary (cmd/gateway)
# as its own Deployment, behind any reverse proxy. Apply with:
#
# kubectl apply -k examples/standalone
#
# config.yaml holds the gateway configuration: the same block a plugin
# Middleware carries under spec.plugin.llmgateway, hoisted to the top
# level. configMapGenerator gives the ConfigMap a content hash, so editing
# config.yaml rolls the pods. The binary also hot-reloads the file in place
# (-reload-interval), and users.json is reloaded by the gateway itself.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: llmgateway
resources:
- namespace.yaml
- secrets.yaml
- deployment.yaml
- traefik.yaml
configMapGenerator:
- name: llmgateway-config
files:
- config.yaml