Helm chartv5.0.0-dev.46101126550.1App v5-devApache-2.0

Fred, an open-source platform for putting a team to work with AI agents on its own documents: governance, document ingestion and search, background workers and web UI.

About this chart

fred

Fred is an open-source platform for putting a team to work with AI agents on its own documents, with the identity, access control, audit and evaluation that regulated work requires. This chart deploys the Fred platform; every deployment starts from it and adds its own values file. Its values.yaml holds the defaults and documents each setting.

What it deploys

ApplicationRoleEnabled by default
control-plane-backendadmission, governance, spaces, folders and authorization APIyes
fred-agentsagent pod API and conversationsyes
fred-agents-workerdurable preparation of the pod's installed capabilitiesyes
monitorread-only namespaced technical status for platform administratorsyes
frontendweb UI, behind your ingressyes
knowledge-flow-backendauthorized search and published-content APIyes
knowledge-flow-workeringestion worker serving all rolesyes
knowledge-flow-worker-extraction-{fast,medium,rich}optional dedicated extraction workersno

Control Plane runs HTTP, processing coordination and lifecycle work in one process. There is no separate Control Plane worker. The chart wires the supplied Agent Pod, its preparation worker and the document API/worker together. Disable optional components explicitly; disabling Fred Agents also requires disabling its worker and replacing/removing its runtime catalogue entry and preparation binding.

Fresh installs run two pre-install hooks: Control Plane's initialize-schema (weight -10), then runtime/capability migrations (weight 0). These hooks read only external database credentials and do not depend on release-created ConfigMaps or Secrets. API startup verifies the SQL schema. No upgrade from Swift or an older Weaver database is supported.

Requirements

  • A Kubernetes cluster and Helm 3 or 4.
  • External PostgreSQL with pgvector, OpenSearch, Keycloak, Temporal and S3-compatible storage (or the supported runtime GCS override). Fred does not install these services.
  • A fresh database with the component roles/schemas from bootstrap.sql. Provision these externally, or explicitly enable postgresBootstrap.enabled and supply its administrator Secret; this hook runs first (weight -20). Database creation remains external. Keep the dedicated fred_monitor reader, never the Control Plane owner.
  • A trusted realm with the human app client and workload clients control-plane, agentic, knowledge-flow and knowledge-flow-worker, including the required audiences and delegation grants. Supply the real issuer consistently to each application's security and to Control Plane's preparation/processing bindings.
  • The document bucket, a private runtime bucket, Temporal namespace, trusted CAs and credentials provisioned before installation.

Install

helm install fred oci://ghcr.io/thalesgroup/fred-helm/fred --version <version> \
  -n fred --create-namespace -f my-values.yaml --wait

helm show values oci://ghcr.io/thalesgroup/fred-helm/fred --version <version> prints the documented defaults. Each release's operator guide (configuration changes, migrations) is attached to its GitHub release.

Images

The chart version selects matching image tags through Chart.appVersion; the release workflow sets it to v<version>. Seven images are published under ghcr.io/thalesgroup/fred-agent/: Control Plane, frontend, Fred Agents, Knowledge Flow API, Knowledge Flow worker, its optional PyMuPDF variant, and monitor. Preparation uses the Fred Agents image; extraction groups inherit the common ingestion image.

A successful weaver image build also publishes development charts numbered 5.0.0-dev.<run-id>.<attempt>. These set appVersion: v5-dev and pin each built-in image through applications.<name>.image.digest, including monitor, inherited workers, init containers and hooks. Digests take precedence over tags and appVersion. Consumers use these defaults and supply only their platform overrides. The deployment factory selects the latest dev chart; see publication.

To select another image (for example the PyMuPDF worker), override both repository and its matching digest; files/image-digests.json in the chart archive lists the build's variants. To deliberately use a tag instead, clear digest: "" and set tag. Changing only the tag does not override a pinned digest. Source charts leave digests empty, preserving local builds and the tagged-release appVersion fallback. An exact chart version repeats that build's images; it does not restore database state.

Your values file

Write one values file for your deployment and pass it with -f. Two things to know:

  • Match the corpus contract. API query embeddings and index/collection must match worker indexing. API published_artifacts must read the worker publication bucket. Set processing and scheduler overrides only on the worker; extraction groups inherit them.
  • Platform values only. Override ingress/domain/TLS, service addresses, database and bucket names, Secret references, model sources/credential bindings and sizing. The chart supplies service routes, worker commands, SQL hooks and runtime registration. https://s3.example.test, https://identity.example.test/realms/app and your.host are placeholders to replace.
  • Processing transport. The worker calls https://your.host/control-plane/v1 through the TLS ingress (or your TLS-enabled internal gateway). The plain HTTP Control Plane Service is not a TLS endpoint. Both processing sides reject HTTP by default. Only a local profile should supply HTTP URLs together with manager_processing.allow_insecure: true on Knowledge Flow and scheduler.processing.derived.allow_insecure: true on Control Plane; local HTTP original storage also needs storage.content.allow_insecure: true. Keep the worker issuer equal to the real realm used by the platform identities.
  • Independent configuration. YAML anchors do not propagate later overrides. Keep Control Plane processing and Knowledge Flow worker Temporal connections/queues aligned, and the preparation worker connection aligned with Control Plane lifecycle. The preparation worker inherits Fred Agents settings at render time.
  • Credentials by reference. Point each application's extraEnvVars at a Secret that exists before the release (valueFrom.secretKeyRef), and give each migration Job its database password through postgresSecrets (or migration.extraEnvVars to override). Helm replaces lists: retain all required entries when overriding extraEnvVars. The applications read these variables before the .env file that dotenv renders. The root bootstrap token has its own contract: Root bootstrap secret contract.
  • Gateway DNS. The frontend's control-plane and knowledge upstream defaults use control-plane-backend.<release namespace>.svc.cluster.local:8222 and knowledge-flow-backend.<release namespace>.svc.cluster.local:8000, even when instance values replace frontend.env. Override FRONTEND_CONTROL_PLANE_UPSTREAM or FRONTEND_KNOWLEDGE_FLOW_UPSTREAM in env or extraEnvVars for another address or DNS domain. Nginx's request-time resolver needs fully qualified names.

For an internal HTTPS object store with a private CA, create a Secret containing ca-bundle.pem and mount it in the Knowledge Flow API pod. Set the DuckDB options in the same deployment values file:

applications:
  knowledge-flow-backend:
    configuration:
      storage:
        tabular_store:
          query:
            duckdb_ca_cert_file: /etc/fred/tls/ca-bundle.pem
            duckdb_enable_server_cert_verification: true
    extraVolumes:
      - name: duckdb-ca
        secret:
          secretName: fred-ca-bundle
    extraVolumeMounts:
      - name: duckdb-ca
        mountPath: /etc/fred/tls/ca-bundle.pem
        subPath: ca-bundle.pem
        readOnly: true

The CA Secret must exist before deploying the chart. If a Knowledge Flow worker also reads tabular Parquet artifacts, repeat the configuration and mount under applications.knowledge-flow-worker because YAML anchors do not carry overrides.

The local example is values-weaver.yaml. Its localhost URLs, local CA mounts, demo organizations and local credentials are instance choices, not a production profile. Consumers use the published OCI chart with their own values; no copied templates or source build is needed.

External Secret contract

Override existing references when your Secret names differ. No literal credentials are required in values. The chart does not create these external Secrets.

SecretRequired keys / use
fred-secretsPOSTGRES_CP_PASSWORD, POSTGRES_KF_PASSWORD, POSTGRES_RUNTIME_PASSWORD; POSTGRES_MONITOR_DATABASE_URL for the dedicated reader; workload keys KEYCLOAK_CONTROL_PLANE_CLIENT_SECRET, KEYCLOAK_AGENTIC_CLIENT_SECRET, KEYCLOAK_KNOWLEDGE_FLOW_CLIENT_SECRET, KEYCLOAK_MANAGER_WORKER_CLIENT_SECRET
fred-ingestionmanager-s3-secret, processor-s3-secret, kf-api-s3-secret, agents-s3-secret; agents-opensearch-password, kf-api-opensearch-password, opensearch-password
Operator-chosen model SecretKeys referenced by the configured model sources and runtime/Knowledge Flow credential bindings; no provider is selected by default
Administrator Secret (bootstrap opt-in only)postgresBootstrap.adminSecretName/adminPasswordKey; also postgresSecrets.monitorKey (POSTGRES_MONITOR_PASSWORD) in fred-secrets for role provisioning

The document principals default to fred-document-manager, fred-document-processor and fred-document-reader; the runtime object-store principal defaults to fred-agents. Provision their bucket permissions and override the existing access-key values when needed. The optional shared MODEL_CATALOG_ENCRYPTION_KEY also belongs in fred-secrets. Supply FRED_BOOTSTRAP_TOKEN explicitly on Control Plane with a secretKeyRef before first login; it is deliberately not injected by default and is never passed to hooks.

Capability preparation worker

fred-agents and fred-agents-worker are enabled together by default. The worker inherits the API's final image (including build overlays), runtime ID, SQL and object storage, CP URL, workload configuration and Secret references through inheritFrom. Set those on fred-agents only: the worker schema rejects separate image, configuration or credential overrides, except for enabling its scheduler. The API's scheduler setting is preserved. No second image build or capability migration is needed.

Bind the runtime ID in the CP's platform.capability_preparation.workers to the verified issuer, audience and client ID of its workload. The worker and scheduler.lifecycle.temporal on the CP must use the same host and namespace; the chart rejects missing bindings or mismatched connections. The CP supplies the actual queue; the inherited scheduler.temporal.task_queue does not select it. See the operator note for the retention, identity and migration contracts.

The separate Deployment runs python -m fred_agents --mode worker, without ports, Service, ingress, metrics endpoint or API probes. It shares the API's .env Secret and creates only its configuration, service account (without Kubernetes permissions) and Deployment. Startup errors terminate the process; Kubernetes restarts it. Container readiness alone does not prove Temporal polling: verify the poller and one preparation before declaring the worker operational.

Each replica runs at most two preparation activities. Defaults bound it to 2 CPUs, 2 GiB RAM and 2 GiB ephemeral storage; these are initial limits, not measured capacity. terminationGracePeriodSeconds: 60 leaves time for the runtime's 30-second graceful shutdown. Replica count and resources remain configurable; replicaCount: 0 deliberately pauses processing while leaving the API available. Retain workers for cleanup when disabling new preparation admissions.

Horizontal Pod Autoscaling

Applications can opt into an autoscaling/v2 HorizontalPodAutoscaler under applications.<name>.autoscaling. Set enabled: true, minReplicas, maxReplicas, and a Kubernetes resource metrics list. Optional behavior.scaleUp and behavior.scaleDown values use the Kubernetes HPA behavior fields directly. The chart ships disabled CPU policy examples for every Deployment. The four Knowledge Flow worker examples preserve their separate queue-specific limits; the other applications have conservative starting values. Adjust each policy and set CPU requests for its container before enabling it. An enabled HPA requires that application's Deployment to be enabled, CPU requests on its container, and the cluster's Kubernetes metrics API. While an HPA is active, the chart leaves spec.replicas unset so the HPA can own the Deployment's replica count. fred-agents must use shared storage (gcs or minio) if its autoscaling maxReplicas is greater than one.

With storage.*_store.type: opensearch in fred-agents or knowledge-flow-backend, the application creates its indexes at startup.

First login

Register in the realm, accept the active terms in Fred and enter the bootstrap secret requested by the UI to become platform owner. The manager API reads the secre

Deploy fred with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fred 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 chartfred is pinned at v5.0.0-dev.46101126550.1 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