Architecture
How OpenLakeForge is put together: the services it runs, how data moves from Bronze to Gold, how one pipeline run uses them, and what changes between the local, AWS and Azure providers.
Services and responsibilities
Section titled “Services and responsibilities”Everything runs on one Kubernetes cluster that olf infra deploy creates.
| Concern | Service | Responsibility |
|---|---|---|
| Orchestration | Dagster | Runs one job per data product and records every run |
| Ingestion | dlt | Lands source data in Bronze |
| Validation | Floe | Checks Bronze against the domain’s contract and writes Silver |
| Transformation | dbt-trino | Builds Gold marts in SQL |
| Compute | Trino | Runs queries and the dbt SQL (one coordinator per stage on local); the only query engine |
| Table format | Apache Iceberg | Silver and Gold tables |
| Catalog | Polaris, or AWS Glue | Registers every Iceberg table |
| Storage | SeaweedFS, or Amazon S3 | Holds Bronze files, Iceberg data and run artifacts |
| Service state | PostgreSQL, or Amazon RDS | Databases of Dagster, Superset, OpenMetadata and Polaris |
| Governance (Full) | OpenMetadata | Domains, data products and lineage |
| Analytics (Full) | Superset | Dashboards over Gold tables |
Component versions are in Components and services.
Bronze, Silver and Gold
Section titled “Bronze, Silver and Gold”Each layer has one owner in your project and one tool that writes it:
| Layer | Owned by | Written by | Holds | Namespace |
|---|---|---|---|---|
| Bronze | A source | dlt | Source files as they arrived | none, raw files in the Bronze bucket |
| Silver | A domain | Floe | Validated Iceberg tables; rejected rows go to a quarantine path instead | <domain>_silver |
| Gold | A data product | dbt-trino | Business marts | <product>_gold |
dbt reads the Silver tables Floe writes and keeps no staging layer of its own. Every Silver and Gold write is committed through the catalog, so Trino, Superset and OpenMetadata see the same tables.
One pipeline run
Section titled “One pipeline run”When you launch <product>_pipeline in Dagster:
- Dagster starts a short-lived run pod from your project-code image.
- The run pod loads each Bronze resource with dlt.
- For each domain the product reads, the run pod launches one Floe Kubernetes Job on the same image; it validates the selected Silver tables one after another, writing accepted rows to Silver and a report to the ops bucket.
- dbt-trino sends the Gold SQL to Trino, which does the work and writes the Gold tables.
- Floe and dbt emit OpenLineage events to OpenMetadata on Full, so lineage comes from the runs themselves.
Run pods and Floe Jobs are removed after the run, so nothing computes between runs except the long-lived services. Logs, Floe reports and dbt artifacts are archived in the ops bucket.
Deployment model
Section titled “Deployment model”olf infra deploy runs three phases:
| Phase | Creates | Changes when |
|---|---|---|
| Foundation | The cluster and image registry | Rarely |
| Platform | The shared services and each stage | You change the preset or stages |
| Artifacts | Your code: image, catalog namespaces, Dagster code, dashboards, metadata | You change lakehouse_code/ |
A code change only reruns artifacts and never touches Terraform. Shared
services run once in the olf-system namespace. Each enabled stage (dev,
uat, prod) gets its own olf-<stage> namespace with its own Dagster and
Superset, its own buckets and its own catalog lakehouse_<stage>. A change is
built once into an immutable project revision and promoted between stages
unchanged; see CI/CD and environment promotion.
Providers
Section titled “Providers”The platform components talk to infrastructure through provider-neutral contracts, so your project and its descriptors are identical on every provider:
| Local | AWS | Azure (preview) | |
|---|---|---|---|
| Kubernetes | kind on Docker | EKS | AKS |
| Images | Loaded into kind | ECR | ACR |
| Storage | SeaweedFS | S3 | SeaweedFS |
| Catalog | Polaris | AWS Glue | Polaris |
| Service state | PostgreSQL | RDS PostgreSQL | PostgreSQL |
| Workload identity | Kubernetes service accounts | EKS Pod Identity | Kubernetes service accounts |
| Access | Ingress on *.olf.localhost, optional sign-in |
olf infra forward |
olf infra forward |
On AWS, every stage shares the account’s Glue catalog, with stage-prefixed database names scoped by IAM.
The AWS chart shows the target shape. Its access path (Route 53, an ALB with
ACM, oauth2-proxy and Dex) is not built yet: today the AWS services are reached
with olf infra forward.
Further reading
Section titled “Further reading”- Kubernetes runtime charts: every pod, the service wiring, the jobs of one pipeline run, the data path and the provider contracts.
- Architecture Decision Records: the decisions behind this design, with their trade-offs.
- Maintainer architecture pages: provider contracts, Terraform roots and identity policy, for contributors.
Synced from openlakeforge @ v0.6.0-alpha.3 (882b426), docs/architecture/overview.md.