Positioning
CDS is a declarative control plane for data platforms at compile time. You capture the desired architecture as version-controlled YAML, and CDS generates deployment artefacts from it. CDS runs nothing itself: it is a compiler, not a runtime orchestrator. That keeps the separation between design, validation and execution clear.
Architecture principles
- Contract-first coupling: modules do not talk to each other directly. A provider offers a named contract, a consumer declares what it needs, and the profile fixes the binding. Replacing an implementation therefore only touches the profile.
- Isolation: a module never contains the service name of another module. Cross-module dependencies run via bindings.
dependsOnonly controls start-up order. - Closed configuration schemas: every module defines its own configuration space, including defaults. Unknown settings are rejected.
- Provider-neutral: the stack is a composition of capabilities (warehouse, orchestration, identity, observability), not of products.
Layers
| Layer | Role |
| Profile | Selection of modules and topology for an environment |
| Module | Configuration schema, contracts and implementation template |
| Contract | Interface between modules (shared/contracts/) |
| Pipeline | load → validate → plan → render |
| Target | Docker Compose (stable); Kubernetes/Helm via --target helm (experimental) |
Pipeline and guarantees
- Validate: shape, module paths, dependency graph, secrets, contract compatibility. Module sources must be relative and live inside
modules/. - Plan: defaults are materialised and contracts resolved into a
cds/v1alpha1Plan, an intermediate representation independent of the target platform. - Render: interpolation and naming (namespacing per module) produce one consistent model.
Every error is a structured diagnostic with a stable code and data path. Later steps do not run after an error.
Security and compliance by design
- Secrets: values are never included in plans or rendered artefacts. Only
${CDS_*}placeholders are emitted, and only the runtime resolves them. - Policy as data:
cds testapplies a rule set (rule-set.json, with schema), so policy is reviewable and extensible. - Hardening baseline: non-root images, read-only root, dropped capabilities, resource limits, network segmentation and hash-locked dependencies.
- Demonstrability: reporting (
cds report,cds maturity) supports audits. CRA-readiness documentation (scope decision, incident runbook, SBOM, compliance report) is in place, aimed at the Cyber Resilience Act and Dutch public-sector requirements.
What this gives you as an architect
- Governance: the architecture lives in code, with pull-request review, diffable and traceable.
- Vendor independence: contracts make exit and replatforming possible without redesign.
- Reproducibility: the same input gives the same output for development, test and production profiles.
- Extensibility: your own modules and profiles can live in external roots (
CDS_MODULE_PATH,CDS_PROFILE_PATH).
Prerequisites and caveats
- CDS manages the definition of the stack: profiles, modules and contracts, including fetching and updating them. Execution runs on Docker Compose, Kubernetes or your own tooling. CDS is not a runtime orchestrator.
- Monitoring and observability are modules within the stack (Grafana, Loki, Marquez, OpenTelemetry Collector — experimental), not a built-in function of CDS itself.
- The format is called
v1alpha1, so expect schema changes. - Kubernetes/Helm is available experimentally; backup/restore and TLS contracts (including mTLS via a service mesh) have landed. Production-ready Kubernetes support and version 1.0 are still on the roadmap.
Recommended approach
- Start with an existing reference profile and run
cds test. - Define your own contracts and security rules.
- Add CDS to CI, so every change validates first.
- Extend with your own modules where existing ones do not fit.
Also explained for
Back to Composable Data Stack (CDS) · Source code on GitHub · Contact · Nederlands