Skip to content
Draft
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions infrastructure/rag/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
- name: langfuse
repository: https://langfuse.github.io/langfuse-k8s
version: 0.12.1
version: 1.5.1
- name: qdrant
repository: https://qdrant.github.io/qdrant-helm
version: 1.12.6
Expand All @@ -14,5 +14,5 @@ dependencies:
- name: ollama
repository: https://otwld.github.io/ollama-helm/
version: 1.1.0
digest: sha256:9c99676d554fe68802c434b3daac2d50778e38d2793d10b84d1f4d6d78f99726
generated: "2025-07-02T12:36:38.510315+02:00"
digest: sha256:02781b4c97462f6c600d3fadf7127790482a20e537596fed4722ef912d15ec00
generated: "2025-09-03T15:42:41.704412+02:00"
2 changes: 1 addition & 1 deletion infrastructure/rag/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ appVersion: "1.0.0"
dependencies:
- name: langfuse
repository: https://langfuse.github.io/langfuse-k8s
version: "0.12.1"
version: "1.5.1"
condition: features.langfuse.enabled
- name: qdrant
version: 1.12.6
Expand Down
155 changes: 108 additions & 47 deletions infrastructure/rag/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -445,25 +445,39 @@ shared:


langfuse:
minio:
deploy: false
valkey:
deploy: false #<--- keydb is used instead of valkey
image:
repository: ghcr.io/langfuse/langfuse
pullPolicy: Always
tag: "3.27.2"
postgresql:
deploy: true
auth:
username: postgres
password: postgres
database: langfuse
# Core Langfuse Configuration
langfuse:
# Used to hash API keys
salt:
value: "changeme"

# Authentication settings
features:
telemetryEnabled: true
signUpDisabled: false

# Web deployment configuration
web:
image:
repository: langfuse/langfuse
tag: "3.106.3"
pullPolicy: Always

# Worker deployment configuration
worker:
image:
repository: langfuse/langfuse-worker
tag: "3.106.3"
pullPolicy: Always
port: 3030

# NextAuth configuration
nextauth:
url: http://localhost:3000
secret: changeme
salt: changeme
secret:
value: "changeme"

# Additional environment variables (only for init values)
additionalEnv:
- name: LANGFUSE_INIT_ORG_ID
value: ""
Expand All @@ -479,33 +493,8 @@ langfuse:
value: ""
- name: LANGFUSE_INIT_USER_PASSWORD
value: ""
# REDIS
- name: "REDIS_CONNECTION_STRING"
value: "redis://rag-keydb:6379"
# CLICKHOUSE
- name: "CLICKHOUSE_MIGRATION_URL"
value: "clickhouse://rag-clickhouse:9000"
- name: "CLICKHOUSE_URL"
value: "http://rag-clickhouse:8123"
- name: "CLICKHOUSE_USER"
value: "default"
- name: "CLICKHOUSE_PASSWORD"
value: "changeme"
# S3 / MinIO
- name: "LANGFUSE_S3_EVENT_UPLOAD_ENABLED"
value: "true"
- name: "LANGFUSE_S3_EVENT_UPLOAD_BUCKET"
value: "langfuse"
- name: "LANGFUSE_S3_EVENT_UPLOAD_REGION"
value: "auto"
- name: "LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID"
value: "admin"
- name: "LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY"
value: "adminpassword"
- name: "LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT"
value: "http://rag-minio:9000"
- name: "LANGFUSE_S3_EVENT_UPLOAD_FORCE_PATH_STYLE"
value: "true"

# Additional init containers
extraInitContainers:
- name: wait-for-postgres
image: busybox
Expand All @@ -520,6 +509,77 @@ langfuse:
# Define a reasonable timeout in case PostgreSQL fails to come up
timeoutSeconds: 300

# PostgreSQL Configuration (use external PostgreSQL)
postgresql:
deploy: true
host: "rag-postgresql"
port: 5432
auth:
username: postgres
password: postgres
database: langfuse

# Redis Configuration (external KeyDB)
redis:
deploy: false
host: "rag-keydb"
port: 6379
auth:
username: "default"
password: ""

# ClickHouse Configuration (external ClickHouse)
clickhouse:
deploy: true
host: "rag-clickhouse"
httpPort: 8123
nativePort: 9000
auth:
username: "default"
password: "changeme"
migration:
url: "clickhouse://rag-clickhouse:9000"
ssl: false
autoMigrate: true
resources:
limits:
cpu: "2"
memory: "8Gi"
requests:
cpu: "2"
memory: "4Gi"

zookeeper:
resources:
limits:
cpu: "2"
memory: "2Gi"
requests:
cpu: "1"
memory: "1Gi"

# S3/MinIO Configuration (external MinIO)
s3:
deploy: false
bucket: "langfuse"
region: "auto"
endpoint: "http://rag-minio:9000"
forcePathStyle: true
accessKeyId:
value: "admin"
secretAccessKey:
value: "adminpassword"
eventUpload:
enabled: true
bucket: "langfuse"
region: "auto"
endpoint: "http://rag-minio:9000"
forcePathStyle: true
accessKeyId:
value: "admin"
secretAccessKey:
value: "adminpassword"

minio:
auth:
## @param auth.rootUser MinIO&reg; root username
Expand All @@ -537,10 +597,6 @@ minio:
enabled: false
mode: standalone





ollama:
image:
tag: 0.5.1
Expand All @@ -556,3 +612,8 @@ ollama:
qdrant:
image:
tag: v1.14.1

keydb:
multiMaster: "no"
activeReplicas: "no"
nodes: 1
115 changes: 7 additions & 108 deletions libs/admin-api-lib/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/admin-api-lib/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ python-dateutil = "^2.9.0.post0"
tenacity = "9.1.2"
boto3 = "^1.38.10"
tqdm = "^4.67.1"
langfuse = "3.0.0"
langfuse = "3.3.4"
redis = "^6.0.0"
pyyaml = "^6.0.2"
python-multipart = "^0.0.20"
Expand Down
Loading