dakera

by ferhimedamine

Helm chartv0.12.3App 0.12.3Verified publisher

Dakera — AI agent memory platform

About this chart

Dakera

Dakera is an AI agent memory platform. This Helm chart deploys the full Dakera stack on Kubernetes:

  • Dakera Server — persistent, searchable agent memory via REST + gRPC
  • Dakera Dashboard — web UI for inspecting and managing memories
  • Dakera MCP Server (off by default: dakera-mcp is stdio-only, see mcp.enabled)
  • MinIO — built-in S3-compatible object storage (or bring your own S3)

→ Documentation: dakera.ai/docs
→ GitHub: dakera-ai/dakera-helm


Versions

Dakera serverChart versionWhere
Latestv0.12.30.12.3 (and later 0.12.x)main (this branch), the Helm repository and the OCI registry
Previousv0.11.x (last: v0.11.108)0.11.xthe release/0.11 branch

main and the latest chart are v0.12.3. The v0.11 chart is kept on the release/0.11 branch, unchanged, so a v0.11 setup stays findable and working. To stay on v0.11, pin the old chart version, for example:

helm install dakera oci://ghcr.io/dakera-ai/dakera-helm/dakera --version 0.11.107 ...
# or, with the Helm repository:
helm install dakera dakera/dakera --version 0.11.107 ...

0.11.107 is the last published v0.11 chart. Its default image tag is 0.11.101; set --set dakera.image.tag=0.11.108 to run the final v0.11 server. helm search repo dakera/dakera --versions lists every published version. The chart version always equals the Dakera server version it deploys. Upgrading from v0.11 or v0.12.0–v0.12.2 to v0.12.3: read CHANGELOG.md and the server's UPGRADE.md.


Install

OCI (recommended — no helm repo add needed)

helm install dakera oci://ghcr.io/dakera-ai/dakera-helm/dakera \
  --namespace dakera --create-namespace \
  --set dakera.rootApiKey=<your-key> \
  --set minio.rootPassword=<your-password>

Pin a specific version:

helm install dakera oci://ghcr.io/dakera-ai/dakera-helm/dakera \
  --version 0.12.3 \
  --namespace dakera --create-namespace \
  --set dakera.rootApiKey=<your-key> \
  --set minio.rootPassword=<your-password>

Helm Repository (GitHub Pages)

helm repo add dakera https://dakera-ai.github.io/dakera-helm
helm repo update
helm install dakera dakera/dakera \
  --namespace dakera --create-namespace \
  --set dakera.rootApiKey=<your-key> \
  --set minio.rootPassword=<your-password>

Upgrade

helm repo update
helm upgrade dakera dakera/dakera --namespace dakera \
  --set dakera.rootApiKey=<your-key> \
  --set minio.rootPassword=<your-password>

Upgrading from chart 0.12.2

Chart 0.12.3 deploys server 0.12.3 and Dashboard 0.5.2; nothing is migrated by hand. Back up first (POST /admin/backups), then helm upgrade (from 0.12.0 / 0.12.1, the notes below apply too). What changes:

  • Server image: distroless, uid/gid 1000, no curl or shell tools (the probes are httpGet). The GPU image is built on CUDA 13: GPU nodes need NVIDIA driver R580 or newer.
  • API: POST /ops/shutdown needs a global super_admin key (nothing in the chart calls it); POST /admin/keys, /v1/namespaces/{ns}/keys, /admin/backups and /admin/encryption/rotate-key refuse unknown JSON fields (422). Recall gains neighborhood_mode / include_summaries (server CHANGELOG 0.12.3).
  • Connections: an idle keep-alive (and HTTP/2) connection is closed after DAKERA_HTTP_HEADER_READ_TIMEOUT_SECS (30 s): see "Ingress and load balancers". The shutdown drains REST connections for shutdownDrainSecs (8 s); dakera.terminationGracePeriodSeconds (30) must hold 15 + it + 5.
  • Authentication off (dakera.config.authEnabled: false): a request whose Host is a public dotted name (the ingress host) gets 421 unless listed in dakera.config.allowedHosts. http://<fullname>:3000, IPs and private-use names (*.local, *.internal, *.home.arpa: the Service FQDN <fullname>.<namespace>.svc.cluster.local) keep working.
  • Autopilot deduplication is off by default (earlier releases merged near-duplicates every 6 hours): add DAKERA_AUTOPILOT_DEDUP_MODE=merge to dakera.extraEnv to keep it. A full queue answers 429 + Retry-After (was 503); recall of an agent that has stored nothing answers 200 with no memories. The server raises its open-files limit to the hard limit at startup, sizes its model pools to the physical cores, and, under a memory limit with room for them, prepacks the model weights (faster, more memory; values.yaml, extraEnv).
  • Dashboard 0.5.2 runs as uid/gid 10001 with a read-only root (the chart mounts /tmp); new optional dashboard.trustedProxies (DAKERA_TRUSTED_PROXIES). Chart defaults that changed: read-only root filesystem for the server, the MinIO NetworkPolicy, no service-account tokens (CHANGELOG.md, 0.12.3, upgrade notes).

Upgrading from chart 0.12.1

Chart 0.12.2 deploys server 0.12.2 and Dashboard 0.5.1; nothing is migrated by hand. Back up first (POST /admin/backups), then helm upgrade. Behaviour that changes (server UPGRADE.md, "Upgrading from v0.12.1 to v0.12.2"):

  • Sessions end after 4 hours without activity (DAKERA_SESSION_IDLE_TIMEOUT_SECS, server default 14400). Sessions already open longer (orphans of crashed agents) are closed, with their summaries, on the first passes after the upgrade. An agent that keeps a session open while idle sends POST /v1/sessions/{id}/touch or starts it with idle_timeout_secs: 0. To keep the 0.12.1 behaviour: --set-string dakera.config.sessionIdleTimeoutSecs=0.
  • Keys: prefix patterns p* in a key's namespaces (strict: team-* reaches team-a, not team). An entry ending in * on a key created before 0.12.2 stays inert until the key's namespaces are saved again (PATCH /admin/keys/{key_id}, or "Re-save to activate patterns" in the dashboard); GET /v1/auth/whoami lists it under inert_namespaces. Keys no longer need _dakera_sessions. Invalid entries are refused.
  • Stricter validation (400): reserved dakera-curated tags and _dakera_* metadata keys from clients, mem_s + 24 hex ids, memory-shaped writes through the raw vector routes of an agent namespace, agent ids over 241 bytes, content over DAKERA_MAX_MEMORY_CONTENT_BYTES (100000 bytes) on update as well as store.
  • Storage: the RocksDB hot tier writes binary records. Back to chart 0.12.1 / 0.12.0: nothing to do. Back to v0.11.108: the rollback Job with the 0.12.2 (or later) image rewrites them as JSON (see "Rolling back to v0.11").

New optional values (rendered only when set; empty = the server's default): dakera.config.sessionIdleTimeoutSecs, maxMemoryContentBytes, vectorCacheBytes, rocksdbRecordFormat (see "Common Options" and values.yaml). Details: CHANGELOG.md.

Upgrading from chart 0.12.0

What changed in chart / server 0.12.1 (going to 0.12.2 from 0.12.0, the 0.12.1 notes above apply too). The stored data, index and snapshot formats of 0.12.1 are those of 0.12.0: nothing is migrated by hand. Take a backup first (POST /admin/backups). Server UPGRADE.md, "Upgrading from v0.12.0 to v0.12.1".

  • Single server (cluster mode off): helm upgrade as above. Nothing else.
  • Cluster mode: every node needs the same DAKERA_CLUSTER_SECRET. A 0.12.1 node without it exits with code 78, upgraded or not, and nodes with and without it do not see each other. Set it on every release and switch them in one window: see "Cluster mode" below.
  • Full-text indexes still on the v0.11 analyzer are re-analysed in the background at the first start, while they keep serving. No step (see "Full-text indexes from v0.11" below).
  • A changed DAKERA_MODEL no longer stops the pod: the store is re-embedded in the background, except under DAKERA_TIERED=1, late interaction or vision (see "Before you switch one on").
  • Statistics totals change meaning. Memory totals stop counting sentence sub-memories and drop; session totals count ended sessions and rise (GET /v1/agents memory_count, the old figure is the new vector_count; GET /v1/agents/{id}/stats; GET /admin/memory-type-stats; GET /v1/kpis session_count_weekly). Storage, recall and quotas are not affected. The chart's alert rules and dashboard read Prometheus metrics, not these fields, and are unchanged. Re-base your own dashboards, alerts and reports built on them (server UPGRADE.md, "API errors and responses").

Check: /health/ready answers 200, GET /v1/agents lists every agent, and a keyword search returns hits.

Upgrading from chart 0.11.x

Tested from 0.11.107 (server 0.11.108) to 0.12.0 on one release (kind): helm upgrade switches the Deployment from RollingUpdate to Recreate, keeps the data PVC <fullname>-rocksdb and the Secret <fullname>-secrets (same objects, same UIDs), and the memories v0.11.108 stored are recalled by 0.12.0 (the pod was Ready 13 s after the upgrade).

The built-in MinIO is new in 0.12.0. Chart 0.11.107 rendered no MinIO although it pointed DAKERA_S3_ENDPOINT at <fullname>-minio:9000, so a working 0.11 install has its own S3 service under that name. With minio.enabled: true (the default) the upgrade then fails with Service "<fullname>-minio" exists and cannot be imported into the current release. Keep your S3: turn the chart's MinIO off, point the server at it and pass the credentials yourself (with MinIO off the chart's Secret no longer carries AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY):

minio:
  enabled: false
dakera:
  config:
    s3Endpoint: http://<fullname>-minio:9000      # what 0.11.107 used
  extraEnv:
    - name: AWS_ACCESS_KEY_ID
      valueFrom: {secretKeyRef: {name: <your-s3-secret>, key: AWS_ACCESS_KEY_ID}}
    - name: AWS_SECRET_ACCESS_KEY
      valueFrom: {secretKeyRef: {name: <your-s3-secret>, key: AWS_SECRET_ACCESS_KEY}}

Full-text indexes from v0.11

0.12.1 needs no step. At startup it re-analyses every full-text index built with another analyzer than the configured one (an index v0.11 built without stemming, for one), in the background, one namespace at a time, while the index keeps serving. Writes made meanwhile are kept and a restart resumes. An index that holds documents existing only in the index, or agent memories that cannot be opened at that moment, keeps its analyzer (logged). Watch the log for Full-text index re-analysed under the configured analyzer.

Only on server 0.12.0 (chart 0.12.0, or dakera.image.tag=0.12.0): after upgrading data from v0.11.108, rebuild its full-text indexes once by hand. Until you do, keyword search and keyword-style recall can return nothing. It only rebuilds derived search indexes; memories are not touched (about 18 seconds for 18,000 memories). Wait until the pod is Ready, forward the service and call the endpoint with a key of global admin scope (the root API key works):

kubectl port-forward -n dakera svc/dakera 3000:3000 &
curl -X POST http://localhost:3000/admin/fulltext/reindex \
  -H "x-api-key: <global admin key>" -H "content-type: application/json" \
  -d '{"rebuild": true}'

Adjust the namespace and the service name (<fullname>, dakera for a release named dakera). Omit namespace from the body to cover every agent memory namespace; add "namespace": "<ns>" for one (a vector-API namespace needs its own call). Check it: a keyword search (POST /v1/namespaces/<ns>/fulltext/search with a common word) returns hits.


Configuration

Pass values with --set key=value or a values.yaml file (-f values.yaml).

Required Values

KeyDescription
dakera.rootApiKeyRoot API key for Dakera. Required, unless dakera.existingSecret names a Secret that holds it.
minio.rootPasswordMinIO root password for S3-compatible object storage. Required with dakera.rootApiKey (the chart's Secret); with dakera.existingSecret it is that Secret's MINIO_ROOT_PASSWORD.

Or keep every secret out of the values: --set dakera.existingSecret=<name>, a Secret you manage with DAKERA_ROOT_API_KEY and, with the built-in MinIO, MINIO_ROOT_PASSWORD, AWS_ACCESS_KEY_ID (= minio.rootUser) and AWS_SECRET_ACCESS_KEY (= the MinIO password). Not together with dakera.rootApiKey.

Common Options

KeyDefaultDescription
dakera.replicaCount1Number of Dakera server replicas
dakera.image.tagchart appVersionDocker image tag
dakera.config.storages3Storage backend: memory, filesystem or s3
dakera.config.dataRoot/dataData root (DAKERA_STORAGE_PATH); the persistence volume is mounted here and every local path (WAL, hot/warm tiers, graph, filesystem backend) lives under it
dakera.config.l1CacheSize1GBTiered-storage hot-tier budget. A unit suffix is bytes; a bare number below 10 million is a vector count (the server's default is 100000 vectors)
dakera.config.sessionIdleTimeoutSecs"" (server: 14400)DAKERA_SESSION_IDLE_TIMEOUT_SECS:

Deploy dakera with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dakera 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdakera is pinned at v0.12.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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