osc-chat
Helm chartv0.1.25App 0.1.25
A Helm chart for the OSC Chat service
About this chart
osc-chat
A Helm chart for the OSC Chat service
OSC Chat Chart
This chart handles the deployment of OSC Chat resources.
Components:
- OSC chat frontend
- OSC chat backend
- OSC chat worker
- Postgresql
- Redis
- Rabbitmq
- Minio
- Qdrant
- Crawlee
- Keycloak client
- LLM and embedding model server
Usage
The following is the minimal values to deploy this chart:
---
global:
imagePullSecret:
password: <webservices-read password>
ingress:
host: <Ingress host>
hostAlias: <Ingress host alias>
minio:
api: <minio host name>
console: <minio console host name>
minio:
auth:
rootUser: <minio root username>
rootPassword: <minio root password>
llm:
host: <LLM server host>
embedding:
model: <Embedding model name>
database:
postgresql:
auth:
postgresPassword: <postgres root password>
username: <username>
password: <postgres database password>
redis:
auth:
password: <redis password>
rabbitmq:
auth:
username: <rabbitmq root username>
password: <rabbitmq root password>
qdrant:
apiKey: <qdrant API key>
secrets:
api:
openaiKey: <LLM server API key>
posthogKey: <posthost key>
ingestApiKey: <ingest api key>
Requirements
| Repository | Name | Version |
|---|---|---|
| https://center-for-ai-innovation.github.io/hpcgpt-cli | osc-mcp | 0.1.10 |
| https://osc.github.io/osc-helm-charts | database | 0.21.1 |
| https://osc.github.io/osc-helm-charts | osc-common | 0.16.1 |
| https://osc.github.io/osc-helm-charts | osc-minio | 0.1.4 |
| https://qdrant.github.io/qdrant-helm | qdrant | 1.16.3 |
| oci://docker-registry.osc.edu/kubernetes/vllm | vllm-stack | 0.1.11-osc-r1 |
| oci://registry-1.docker.io/bitnamicharts | rabbitmq | 16.0.14 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| global.imageRegistry | string | "docker-registry.osc.edu" | |
| global.imagePullSecret.name | string | "osc-registry" | |
| global.imagePullSecret.password | string | required | OSC registry password |
| global.oscServiceAccount | string | "oscchat" | |
| global.database.allowIngress | bool | true | |
| global.security.allowInsecureImages | bool | true | |
| global.storageClass | string | "local-ess" | |
| global.pvcLabels."osc.edu/service-account" | string | "oscchat" | |
| global.pvcAnnotations."osc.edu/fileset" | string | "PZS0645" | |
| global.fileset | string | "PZS0645" | |
| global.llm.host | string | "" | |
| global.embedding.host | string | "" | |
| global.embedding.model | string | "" | |
| global.embedding.vectorLen | int | 4096 | |
| global.alert.receiver | string | "sciapps" | |
| global.ingress.host | string | "" | |
| global.ingress.hostAlias | string | "" | |
| global.ingress.minio.api | string | "" | Minio API host |
| global.ingress.minio.console | string | "" | Minio console host |
| global.minio.auth.rootUser | string | "minioadmin" | The minio root user |
| global.minio.auth.rootPassword | string | "minioadmin" | The minio root password |
| global.networkPolicy.ingressAllowedPods[0]."app.kubernetes.io/name" | string | "osc-mcp" | |
| database.postgresql.auth.postgresPassword | string | "secret" | |
| database.postgresql.auth.database | string | "name" | |
| database.postgresql.auth.username | string | "name" | |
| database.postgresql.auth.password | string | "secret" | |
| database.redis.enable | bool | true | |
| database.redis.auth.password | string | "secret" | |
| database.redis.master.persistence.annotations."osc.edu/fileset" | string | "PZS0645" | |
| qdrant.enable | bool | true | |
| qdrant.resources.limits.cpu | int | 4 | |
| qdrant.resources.limits.memory | string | "8Gi" | |
| qdrant.resources.requests.cpu | int | 4 | |
| qdrant.resources.requests.memory | string | "8Gi" | |
| qdrant.storageClass | string | nil | |
| qdrant.additionalLabels.receiver | string | "sciapps" | |
| qdrant.metrics.serviceMonitor.enabled | bool | true | |
| qdrant.metrics.serviceMonitor.scrapeInterval | string | "60s" | |
| qdrant.metrics.serviceMonitor.relabelings[0].sourceLabels[0] | string | "__meta_kubernetes_service_label_receiver" | |
| qdrant.metrics.serviceMonitor.relabelings[0].targetLabel | string | "receiver" | |
| qdrant.image.repository | string | "docker-registry.osc.edu/kubernetes/qdrant/qdrant" | |
| qdrant.image.tag | string | "v1.16.3" | |
| qdrant.image.useUnprivilegedImage | bool | true | |
| qdrant.persistence.storageClassName | string | "local-path" | |
| qdrant.snapshotPersistence.enabled | bool | true | |
| qdrant.snapshotPersistence.storageClassName | string | "local-ess" | |
| qdrant.snapshotPersistence.annotations."osc.edu/fileset" | string | "PZS0645" | |
| qdrant.snapshotPersistence.additionalLabels."osc.edu/service-account" | string | "oscchat" | |
| qdrant.imagePullSecrets[0].name | string | "osc-registry" | |
| qdrant.apiKey | string | "super-secret" | qdramt API key |
| rabbitmq.image.repository | string | "kubernetes/bitnami/rabbitmq" | |
| rabbitmq.image.tag | string | "4.1.3-debian-12-r1" | |
| rabbitmq.auth.username | string | "guest" | rabbitmq username |
| rabbitmq.auth.password | string | "guest" | rabbitmq password |
| backend.enabled | bool | true | |
| backend.ingress.enabled | bool | false | |
| backend.image.repository | string | "kubernetes/hpcgpt/backend" | |
| backend.image.tag | string | "v0.1.3" | |
| backend.image.pullPolicy | string | "Always" | |
| backend.imagePullSecret.enable | bool | false | |
| backend.replicaCount | int | 1 | |
| backend.service.type | string | "ClusterIP" | |
| backend.service.port | int | 8001 | |
| backend.env.FLASK_ENV | string | "production" | |
| backend.env.QWEN_QUERY_INSTRUCTION | string | "" | |
| backend.resources.limits.cpu | int | 4 | |
| backend.resources.limits.memory | string | "8Gi" | |
| backend.resources.requests.cpu | int | 1 | |
| backend.resources.requests.memory | string | "1Gi" | |
| worker.enabled | bool | true | |
| worker.image.repository | string | "kubernetes/hpcgpt/backend" | |
| worker.image.tag | string | "v0.1.3" | |
| worker.image.pullPolicy | string | "Always" | |
| worker.replicaCount | int | 1 | |
| worker.resources.limits.cpu | int | 4 | |
| worker.resources.limits.memory | string | "2Gi" | |
| worker.resources.requests.cpu | int | 2 | |
| worker.resources.requests.memory | string | "512Mi" | |
| osc-mcp.enabled | bool | false | |
| osc-mcp.extraInitContainers[0].name | string | "wait-for-frontend" | |
| osc-mcp.extraInitContainers[0].image | string | "{{ .Values.global.imageRegistry }}/kubernetes/portainer/kubectl-shell:2.39.0" | |
| osc-mcp.extraInitContainers[0].resources.requests.cpu | string | "250m" | |
| osc-mcp.extraInitContainers[0].resources.requests.memory | string | "256Mi" | |
| osc-mcp.extraInitContainers[0].resources.limits.cpu | int | 1 | |
| osc-mcp.extraInitContainers[0].resources.limits.memory | string | "512Mi" | |
| osc-mcp.extraInitContainers[0].command[0] | string | "timeout" | |
| osc-mcp.extraInitContainers[0].command[1] | string | "300s" | |
| osc-mcp.extraInitContainers[0].command[2] | string | "/bin/bash" | |
| osc-mcp.extraInitContainers[0].command[3] | string | "-c" | |
| osc-mcp.extraInitContainers[0].command[4] | string | `"until curl -sf http://{{ .Release.Name }}-frontend:3000/api/healthcheck | jq -e '.healthy == true' >/dev/null\ndo\n sleep 5\ndone\n"` |
| osc-mcp.osc_chat.chatEndpoint | string | "http://{{ .Release.Name }}-frontend:3000/api/chat-api/chat" | |
| osc-mcp.osc_chat.image.tag | string | "v0.1.5" | |
| ollama.enabled | bool | false | |
| huggingfaceCache.enabled | bool | true | |
| huggingfaceCache.mountPath | string | "/var/cache/huggingface" | |
| huggingfaceCache.sizeLimit | string | "5Gi" | |
| huggingfaceCache.storageClassName | string | "{{ .Values.global.storageClass }}" | |
| secrets.api.openaiKey | string | "your_strong_key" | Open AI key |
| secrets.api.posthogKey | string | "secret" | posthog key |
| secrets.api.ingestApiKey | string | "your_strong_key" | Ingest key |
| crawlee.enabled | bool | true | |
| crawlee.image.repository | string | "kubernetes/hpcgpt/crawlee" | |
| crawlee.image.tag | string | "v0.1.2" | |
| crawlee.image.pullPolicy | string | "Always" | |
| crawlee.imagePullSecret.enable | bool | false | |
| crawlee.replicaCount | int | 1 | |
| crawlee.service.type | string | "ClusterIP" | |
| crawlee.service.port | int | 3000 | |
| crawlee.env.NO_CRAWL | bool | false | |
| crawlee.env.S3_BUCKET_NAME | string | "osc-chat" | |
| crawlee.env.AWS_REGION | string | "us-east-1" | |
| crawlee.probes.liveness.enabled | bool | true | |
| crawlee.probes.readiness.enabled | bool | true | |
| crawlee.resources.limits.cpu | string | "2000m" | |
| crawlee.resources.limits.memory | string | "2Gi" | |
| crawlee.resources.requests.cpu | string | "1000m" | |
| crawlee.resources.requests.memory | string | "1Gi" | |
| keycloak.enabled | bool | false | |
| frontend.enabled | bool | true | |
| frontend.image.repository | string | "kubernetes/hpcgpt/frontend" | |
| frontend.image.tag | string | "v0.1.10" | |
| frontend.image.pullPolicy | string | "Always" | |
| frontend.replicaCount | int | 1 | |
| frontend.service.type | string | "ClusterIP" | |
| frontend.service.port | int | 3000 | |
| frontend.ingress.enabled | bool | true | |
| frontend.ingress.className | string | "nginx" | |
| frontend.ingress.annotations."prometheus.io/probe_path" | string | "/api/healthcheck" | |
| frontend.ingress.annotations."prometheus.io/probe_scheme" | string | "https" | |
| frontend.ingress.annotations."cert-manager.io/cluster-issuer" | string | "letsencrypt" | |
| frontend.ingress.annotations."nginx.ingress.kubernetes.io/ssl-redirect" | string | "true" | |
| frontend.ingress.annotations."nginx.ingress.kubernetes.io/proxy-buffer-size" | string | "16k" | |
| frontend.ingress.annotations."nginx.ingress.kubernetes.io/server-alias" | string | "{{ .Values.global.ingress.hostAlias }}" | |
| frontend.ingress.host | string | "{{ required \"Ingress host must be defined in the global settings\" .Values.global.ingress.host }}" | |
| frontend.ingress.tls[0].hosts[0] | string | "{{ required \"Ingress host must be defined in the global settings\" .Values.global.ingress.host }}" | |
| frontend.ingress.tls[0].hosts[1] | string | "{{ required \"Ingress hostAlias must be defined in the global settings\" .Values.global.ingress.hostAlias }}" | |
| frontend.ingress.tls[0].secretName | string | "osc-chat-frontend" | |
| frontend.resources.limits.cpu | string | "500m" | |
| frontend.resources.limits.memory | string | "512Mi" | |
| frontend.resources.requests.cpu | string | "250m" | |
| frontend.resources.requests.memory | string | "256Mi" | |
| networkPolicies.enabled | bool | false | |
| vllm-stack.enabled | bool | false | |
| vllm-stack.servingEngineSpec.labels.release | string | "osc-chat" | |
| vllm-stack.servingEngineSpec.runtimeClassName | string | "" | |
| vllm-stack.servingEngineSpec.modelSpec[0].name | string | "qwen3" | |
| vllm-stack.servingEngineSpec.modelSpec[0].repository | string | "docker-registry.osc.edu/kubernetes/vllm/vllm-openai" | |
| vllm-stack.servingEngineSpec.modelSpec[0].tag | string | "v0.21.0" | |
| vllm-stack.servingEngineSpec.modelSpec[0].imagePullSecret | string | "osc-registry" | |
| vllm-stack.servingEngineSpec.modelSpec[0].modelURL | string | "Qwen/Qwen3-8B" | |
| vllm-stack.servingEngineSpec.modelSpec[0].replicaCount | int | 1 | |
| vllm-stack.servingEngineSpec.modelSpec[0].enableLoRA | bool | false | |
| vllm-stack.servingEngineSpec.modelSpec[0].requestCPU | int | 4 | |
| vllm-stack.servingEngineSpec.modelSpec[0].requestMemory | string | "32Gi" | |
| vllm-stack.servingEngineSpec.modelSpec[0].requestGPU | int | 1 | |
| vllm-stack.servingEngineSpec.modelSpec[0].limitCPU | int | 4 | |
| vllm-stack.servingEngineSpec.modelSpec[0].limitMemory | string | "32Gi" | |
| vllm-stack.servingEngineSpec.modelSpec[0].limitGPU | int | 1 | |
| vllm-stack.servingEngineSpec.modelSpec[0].podAnnotations."prometheus.io/scrape" | string | "true" | |
| vllm-stack.servingEngineSpec.modelSpec[0].podAnnotations."prometheus.io/path" | string | "/metrics" | |
| vllm-stack.servingEngineSpec.modelSpec[0].podAnnotations."prometheus.io/port" | string | "8000" | |
| vllm-stack.servingEngineSpec.modelSpec[0].pvcStorage | string | "50Gi" | |
| vllm-stack.servingEngineSpec.modelSpec[0].pvcAccessMode[0] | string | "ReadWriteMany" | |
| vllm-stack.servingEngineSpec.modelSpec[0].storageClass | string | "local-ess" | |
| vllm-stack.servingEngineSpec.modelSpec[0].pvcLabels."osc.edu/service-account" | string | "oscchat" | |
| vllm-stack.servingEngineSpec.modelSpec[0].pvcAnnotations."osc.edu/fileset" | string | "PZS0645" | |
| vllm-stack.servingEngineSpec.modelSpec[0].vllmConfig.maxModelLen | int | 40960 | |
| vllm-stack.servingEngineSpec.modelSpec[0].vllmConfig.dtype | string | "half" | |
| vllm-stack.servingEngineSpec.modelSpec[0].vllmConfig.extraArgs[0] | string | "--disable-access-log-for-endpoints" | |
| vllm-stack.servingEngineSpec.modelSpec[0].vllmConfig.extraArgs[1] | string | "/health,/metrics,/ping" | |
| vllm-stack.servingEngineSpec.modelSpec[0].vllmConfig.extr |
Deploy osc-chat with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has osc-chat on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartosc-chat is pinned at v0.1.25 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply