Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions kustomize/overlays/vcell-ai-rke-dev/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Two Ingress objects share the host vcell-ai-dev.cam.uchc.edu:
# /api/* -> backend:8000 (the /api prefix is stripped via rewrite-target,
# because the FastAPI routes are served at the root, e.g. /biomodel)
# /* -> frontend:3000 (Next.js app, incl. /auth/* Auth0 routes)
# /api/* -> backend:8000 (the /api prefix is stripped via rewrite-target,
# because the FastAPI routes are served at the root, e.g. /biomodel)
# /kartik/* -> litellm:4000 (same rewrite; the LiteLLM proxy serves at root)
# /* -> frontend:3000 (Next.js app, incl. /auth/* Auth0 routes)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
Expand Down Expand Up @@ -33,6 +34,16 @@ spec:
name: backend
port:
number: 8000
# Direct access to the LiteLLM proxy for manual testing. Shares this
# Ingress because the /$2 rewrite strips the prefix, which is what
# LiteLLM needs (its routes are at the root: /v1/*, /health, /key/*).
- path: /kartik(/|$)(.*)
pathType: ImplementationSpecific
backend:
service:
name: litellm
port:
number: 4000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand Down
Loading