data-orchestration-stack
by QuenchWorks
Dagster with PostgreSQL and Garage: data pipelines with run storage in PostgreSQL and an S3 bucket for assets created at install, with its credentials in a Secret for your code locations. All component images are QuenchWorks-hardened, nonroot, CVE-gated, pinned by digest and cosign-signed.
About this chart
Quenchworks data-orchestration-stack
Data pipelines in one install: Dagster 1.13.30 (webserver and daemon) with its run and event storage in PostgreSQL, and a single-node Garage 2.3.0 S3 store with a bucket for your assets created at install. All images are QuenchWorks (nonroot, CVE-gated at build, pinned by digest, cosign-signed).
Install
helm install data oci://ghcr.io/quenchworks/charts/data-orchestration-stack -n data --create-namespace \
--set 'dagster.codeLocations[0].name=analytics' \
--set 'dagster.codeLocations[0].host=analytics-code.data.svc.cluster.local' \
--set 'dagster.codeLocations[0].port=4000'
S3 for your code locations
The bucket dagster is created and granted to a generated key on first boot. Give a
code-location container its settings:
envFrom:
- configMapRef: { name: data-s3 } # AWS_ENDPOINT_URL, AWS_REGION (garage), DAGSTER_S3_BUCKET
env:
- name: AWS_ACCESS_KEY_ID
valueFrom: { secretKeyRef: { name: data-garage, key: access-key } }
- name: AWS_SECRET_ACCESS_KEY
valueFrom: { secretKeyRef: { name: data-garage, key: secret-key } }
Then an IO manager from dagster-aws (in your code-location image) writes assets there, for
example S3PickleIOManager with s3_bucket from DAGSTER_S3_BUCKET. The webserver and daemon
carry the same variables.
Values
| Key | Default | Notes |
|---|---|---|
dagster.* | passes to the dagster chart: codeLocations, example, postgresql, runCoordinator | |
garage.config.defaultBucket | dagster | created on first boot |
garage.* | passes to the garage chart: persistence, config.capacity |
Notes
- One stack per namespace: Garage has the fixed name
data-garage(garage.fullnameOverride), so its Secret and Service can be named from plain values. - The QuenchWorks dagster image does not include
dagster-aws, so compute logs stay on the default local manager; your code-location images bringdagster-awsfor S3 IO managers. - Garage here is a single node. For a replicated store, run the garage chart on its own and
point
data-s3style settings at it.
Deploy data-orchestration-stack with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has data-orchestration-stack 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdata-orchestration-stack is pinned at v0.0.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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