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

NameDescription
dag_idThe id of the dag
execution_dateThe execution date of the DAG

Options

NameDescription
-h, --helpShow 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'