fleet-memory/helm/hindsight/templates
Byeonghoon Yoo cefa75545a
feat(helm): add persistent volume for local model cache (#861)
* feat(helm): add persistent volume for local model cache

When using local reranker (e.g., BAAI/bge-reranker-v2-m3) or local
embedding models, the models are downloaded to /home/hindsight/.cache
on every pod restart, causing slow startup and unnecessary bandwidth.

Add optional persistent volume support:
- api: PVC mounted at /home/hindsight/.cache
- worker: volumeClaimTemplate (StatefulSet) at same path

Disabled by default. Enable via:
  api.persistence.modelCache.enabled: true
  worker.persistence.modelCache.enabled: true

Closes #860

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(helm): add extraVolumes and extraVolumeMounts for api and worker

Allow users to mount arbitrary volumes (configMaps, secrets, emptyDir,
etc.) into api and worker pods via values, following common helm chart
library conventions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 09:14:09 +02:00
..
_helpers.tpl feat(helm): TEI reranker and embedding as separate Deployments (#333) 2026-02-11 10:39:41 +01:00
api-deployment.yaml feat(helm): add persistent volume for local model cache (#861) 2026-04-07 09:14:09 +02:00
api-model-cache-pvc.yaml feat(helm): add persistent volume for local model cache (#861) 2026-04-07 09:14:09 +02:00
api-service.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
controlplane-deployment.yaml feat(helm): add PDB and per-component affinity support (#327) 2026-02-09 18:03:37 +01:00
controlplane-service.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
hpa.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
ingress.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
NOTES.txt helm chart updates v1 2025-12-10 17:30:15 +01:00
pdb.yaml feat(helm): add PDB and per-component affinity support (#327) 2026-02-09 18:03:37 +01:00
postgresql-service.yaml helm chart updates v1 2025-12-10 17:30:15 +01:00
postgresql-statefulset.yaml helm chart updates v1 2025-12-10 17:30:15 +01:00
secret.yaml feat(helm): add existingSecret support (#119) 2026-01-08 10:36:03 +01:00
serviceaccount.yaml rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
tei-embedding-deployment.yaml feat(helm): TEI reranker and embedding as separate Deployments (#333) 2026-02-11 10:39:41 +01:00
tei-embedding-service.yaml feat(helm): TEI reranker and embedding as separate Deployments (#333) 2026-02-11 10:39:41 +01:00
tei-reranker-deployment.yaml feat(helm): TEI reranker and embedding as separate Deployments (#333) 2026-02-11 10:39:41 +01:00
tei-reranker-service.yaml feat(helm): TEI reranker and embedding as separate Deployments (#333) 2026-02-11 10:39:41 +01:00
worker-service.yaml feat: new 'worker' service (#176) 2026-01-20 10:17:56 +01:00
worker-statefulset.yaml feat(helm): add persistent volume for local model cache (#861) 2026-04-07 09:14:09 +02:00