Files
swarm-house/infra/terraform/ground/README.md
T
eSlider 5f6fd8462c
CI & Release / Verify simulator (push) Skipped
CI & Release / Trivy scan (push) Skipped
CI & Release / Semantic Release (push) Skipped
CI & Release / Verify simulator (pull_request) Failing after 4s
CI & Release / Trivy scan (pull_request) Skipped
CI & Release / Semantic Release (pull_request) Skipped
docs: audit links, glossary T0-T4, readability pass
Extend glossary with storage floors, source of truth, and linkable anchors.
Fix broken links, pose frame drift, rsync/offload wording, and README tone.
Add docs/improvement audit records and live demo links in design journey.
2026-07-10 10:46:59 +01:00

1.5 KiB

Terraform — ground warehouse (T3)

Ground warehouse. Receives sealed partitions post-flight (storage floors). Long-lived infra → Terraform.

Runs in same k3d cluster as ../sim-env but separate namespace and state: fleet disposable, warehouse not — never share terraform destroy.

Resource Purpose
Deployment minio + PVC + NodePort 30901 Object-store facade for downstream consumers
CronJob offload T1T3 offload: Hive partitions verbatim, then mc mirror into MinIO
Deployment warehouse-explorer + NodePort 30089 Read-only SQL across all offloaded flights

Usage

terraform init
terraform apply
terraform output

After offload runs, warehouse explorer shows same partition tree as live lake, accumulated across flights. T1 layout is T3 layout. No transform. No schema drift. Same DuckDB queries both ends.

Simulation vs production

  • Sim CronJob: cp -ru + mc mirror on a schedule — shortcut for "lands, offloads, prunes". Production: event-driven per dock, rsync or mc mirror, checksum audit before prune (03 — Data platform).
  • MinIO credentials here are throwaway defaults; production credentials sealed per site, never in state or VCS.