airflow kubernetes generate-dag-yaml <dag_id> <execution_date>
Generate YAML files for all tasks in DAG. Useful for debugging tasks without launching into a cluster
Arguments
Name | Description |
---|
dag_id | The id of the dag |
execution_date | The execution date of the DAG |
Options
Name | Description |
---|
-h, --help | Show this help message and exit |
-o, --output-path <output_path> | The output for generated yaml files |
-S, --subdir <subdir> | File location or directory from which to look for the dag. Defaults to '[AIRFLOW_HOME]/dags' where [AIRFLOW_HOME] is the value you set for 'AIRFLOW_HOME' config you set in 'airflow.cfg' |