Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Example DAG patterns

End-to-end Workflow examples for common orchestration patterns.

Use this page for complete Workflow manifests and common DAG patterns.

Single-step container Workflow

Use a single step when the job has no internal dependencies.

Multi-step DAG with a container stack

Use multiple steps when work must happen in order.

This example introduces the DAG first:

  • extract prepares input files.

  • validate checks the result.

  • publish runs only after validation passes.

Parallel branches in a DAG

Use parallel branches when steps do not depend on each other.

In this example, fetch-customers and fetch-orders run independently. merge-data waits for both.

Workflow with projections

Use projections when a step needs secrets or runtime context. Define use.projection inside the step's spec, not under the Workflow's top-level spec. Each step that needs the values declares its own projection.

Last updated

Was this helpful?