Field reference
Reference for Workflow manifest fields and DAG step configuration.
Use this page to look up Workflow manifest fields, required values, and nested options.
Top-level fields
version
API version of the Workflow resource.
Yes
name
Unique name of the Workflow.
Yes
type
Resource type. Set this to workflow.
Yes
tags
Labels used for grouping and filtering.
No
description
Short summary of the Workflow.
No
spec
Main configuration block for execution settings.
Yes
spec fields
spec.type
Execution mode for the Workflow: instance, schedule, or template. Defaults to schedule when spec.schedule is set, otherwise instance. See Execution mode below.
No
spec.dependencies
Resource-level prerequisites before execution starts.
No
spec.schedule
Scheduling configuration for automatic execution. Required when spec.type is schedule.
No
spec.schedule.crons
One or more cron expressions for run timing.
Yes, when spec.schedule is set
spec.schedule.timezone
Time zone used to evaluate the cron schedule.
Yes, when spec.schedule is set
spec.schedule.concurrencyPolicy
Controls whether overlapping runs are allowed: Allow, Forbid, or Replace. Has no default.
Yes, when spec.type is schedule
spec.dag
List of batch steps in the Workflow DAG.
Yes
Execution mode (spec.type)
spec.type sets how the whole Workflow runs: once, on a schedule, or only when you trigger it. It does not change how individual DAG steps are configured; stack, compute, stackSpec, and the other step fields work the same for every spec.type.
instance
Runs the DAG once each time the Workflow is applied or re-run.
You need a one-off or on-demand batch job, with no cron.
schedule
Runs the DAG on each cron in spec.schedule.crons. Requires spec.schedule, including concurrencyPolicy.
You need a recurring job, such as a nightly ETL or a periodic report.
template
Registers the Workflow definition without running it on apply. Start a run with the run or re-run action on the Workflow.
You reuse the same DAG many times and run it only when you trigger it.
Any other value is rejected at validation.
Default: if you omit spec.type, it defaults to schedule when spec.schedule is set (with crons), and to instance otherwise.
Restrictions:
Use resource version
v2alphafor thisspecshape.Each DAG step must use a stack that supports Workflow jobs.
spec.typedoes not limit which stack you can use.All steps in one Workflow must use Compute on the same Data Plane. Jobs run on the Data Plane of each step's Compute.
Only
scheduleusesspec.schedulefor execution. Withinstanceortemplate, a cron inspec.scheduledoes not trigger runs.With
spec.type: scheduleandconcurrencyPolicy: Allow, DAG steps cannot attach persistent volumes.
Examples:
Omitting spec.type (with no spec.schedule) behaves the same way.
After you apply it, start a run with the run or re-run action on the Workflow.
spec.dag[] fields
spec.dag[].name
Name of an individual step.
Yes
spec.dag[].title
Optional human-readable title for a step.
No
spec.dag[].depends
Step dependencies inside the DAG.
No
spec.dag[].spec
Runtime configuration for that step.
Yes
spec.dag[].spec fields
spec.dag[].spec.compute
Compute target used for the step.
Yes
spec.dag[].spec.resources.requests
Minimum CPU and memory requested for execution.
No
spec.dag[].spec.resources.limits
Maximum CPU and memory allowed for execution.
No
spec.dag[].spec.runAsUser
User identity used to run the step.
No
spec.dag[].spec.use.volumes
Mounted volumes available to the step.
No
spec.dag[].spec.use.projection
Injected secrets and configuration for the step.
No
spec.dag[].spec.stack
Runtime stack used to execute the step.
Yes
spec.dag[].spec.stackSpec
Stack-specific configuration details.
Yes
Notes
Model the DAG first, then choose the runtime for each step.
Use
spec.scheduleonly when the Workflow should run automatically.Define
use.projectionunder each step (spec.dag[].spec.use.projection). The Workflow top-levelspechas nousefield, so a projection placed there is silently dropped.Steps do not inherit projections. Repeat the projection in each step that needs it, or use the stack's projection when every job on that stack needs the same values.
In each projection item, set the content in
template. There is novaluefield.
For behavior and usage guidance, see Core concepts.
Last updated
Was this helpful?