rh.

The modern data stack has a composition problem. Orchestration, storage, transformation, BI, security and observability have each become excellent tools — but the connections between them live in environment variables, in engineers’ heads, or in custom code that breaks with every tool swap. The hardest question is no longer “which tool is best?”, but “how do these tools fit together, and can we still change our minds later?”

That is exactly what the Composable Data Stack (CDS) addresses: an open framework in which you compose a platform from modules that talk to each other through explicit contracts. In this post: what CDS can do today, what the upcoming Kubernetes MVP proves, and why this framework is broader than data warehousing alone — towards a full-fledged Haven platform for álle applications of a municipality.

Several small boats between the larger ships in the harbour of Santa Cruz — like composable apps between the platform components. Photo: Dicklyon, CC BY-SA 4.0, via Wikimedia Commons
Several small boats between the larger ships in the harbour of Santa Cruz — like composable apps between the platform components. Photo: Dicklyon, CC BY-SA 4.0, via Wikimedia Commons

What CDS already has

Modules and contracts. Every module (a container image + module.yaml) declares which contracts it provides (provides) and consumes (consumes). The contract network is the backbone of the whole system. Stable modules live in modules/:

Category Module Contract
identity Keycloak oidc-provider, http-service
secrets Vault secrets-provider
security Istio service-mesh
integration Traefik reverse-proxy
storage Garage object-storage
cache KeyDB cache-service
backup restic backup-target
warehouse Postgres, DuckDB sql-database, file-database
orchestration Dagster http-service
transformation / bi dbt, Superset http-service, docs-service

In addition, modules-experimental/ already holds modules for entirely different types of platform capability:

Category (experimental) Module Contract
gitops FluxCD gitops-target
observability Loki, OTel collector log-sink, metrics-sink, trace-sink
observability Grafana, Marquez http-service, lineage-sink
ingestion dlt backup-source (pipeline state as backup source)
orchestration Airflow http-service, scheduler, metadata-db-client
warehouse postgres-operator sql-database (operator-managed)
backup object-storage consumes object-storage (backup to an S3-compatible store)

Profiles as pure wiring. A profile is nothing more than modules linked together via contractRef — local-haven-reference combines Keycloak + Postgres + Traefik in a Haven-compliant setup, for example, without a single handwritten route file.

A CLI with fail-closed gates. cds validate, security, preflight, plan, render, up — with explicit E-/W error codes, a local audit trail, and two render targets: Docker Compose and Kubernetes/Helm (--target helm, including NetworkPolicy generation and a k3d harness).

A maturity model. cds maturity reports a tier per profile — Basic, Automated, Observed, Secured, Resilient — based on which platform contracts are actually resolved.

Public-sector alignment already built in. The FDS data-provider contract (open-data-provider), NIS2/Cyber Security Act-based cds security checks, CRA readiness (SBOM, release evidence gate), OpenLineage lineage for Dagster, and the Common Ground/Haven mapping in docs/common-ground-alignment.md.

What the MVP tests

docs/plan/k8s-haven-mvp.md contains a runbook that proves four claims in a single cycle, starting from a clean machine with only Docker:

  1. Kubernetes works end-to-end: install the CLI from PyPI, set up a local k3d cluster, and run a profile through the full lifecycle with --target helm (up → state → down), with evidence recorded.
  2. The deployment is production-ready: the production profile passes the fail-closed gates (validate, security, preflight) and the 13-control production hardening checklist.
  3. Haven parity is measured, not claimed: cds maturity measures the Haven+ baseline capabilities (GitOps, observability, security, database operator, backup, networking) one by one. Every blocking gap is mandatory work in the cycle — gates 0 through 5 pause until the corresponding issue is closed.
  4. The cycle ends in a v1.0.0 release.

Deliberate non-goals: no claim of certified Haven+ compliance, no multi-cloud, no CDSProfile CRD/operator — and the Compose path remains untouched as a second render target.

What the future may hold

This is where it gets interesting. The CDS engine — module.yaml + contracts + profiles — is already application-agnostic. Only the name and a few categories (warehouse, transformation, bi) suggest data warehousing. In practice, identity, secrets, security, storage, cache, backup and ingress are reusable for évery application.

The logical next step is therefore a generalisation into a Composable Haven Framework: Haven+ then is not the product, but one profile family on top of a generic contract engine. Concretely:

In short: today CDS is a working, tested data stack with a Kubernetes/Helm target and an MVP that makes Haven parity measurable towards v1.0.0. And the architecture shows that tomorrow the same framework can just as well be a municipality-wide platform layer on which case systems, CRM and integration applications run — Haven+ as one of many profile families, instead of the whole story.


Want to join? The repo is on GitHub: RonaldHensbergen/composable-data-stack. The quickstart in the README takes less than ten minutes.

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *