generate-dag-yaml
Contents
Definition
Generates YAML files for all tasks in a DAG. This command can be useful for debugging tasks without launching them in a cluster.
Usage
$ airflow kubernetes generate-dag-yaml [-h] [-o OUTPUT_PATH] [-S SUBDIR] [-v]
dag_id logical_date
Arguments
| Parameter | Description |
|---|---|
dag_id |
The ID of the DAG |
logical_date |
The logical date of the DAG |
-o, --output-path |
The output path for generated YAML files. Default: |
-S, --subdir |
File or directory location for DAGs. Defaults to |
-h, --help |
Print out the help manual for this command |
-v, --verbose |
Make logging output more verbose |