You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/10 16:22:44 UTC
[GitHub] [airflow] dimberman commented on pull request #8009: Airflow kubernetes cli command for generating pod templates
dimberman commented on pull request #8009:
URL: https://github.com/apache/airflow/pull/8009#issuecomment-706574271
@turbaszek @Javier162380 I'm a bit confused, how is this different from this command?
```
(airflow) new-features (scheduler-ha-helm-master) (⎈ |kind-airflow-python-3.6-v1.18.6|default) $airflow kubernetes generate-dag-yaml -h
usage: airflow kubernetes generate-dag-yaml [-h] [-o OUTPUT_PATH] [-S SUBDIR]
dag_id execution_date
Generate YAML files for all tasks in DAG. Useful for debugging tasks without launching into a cluster
positional arguments:
dag_id The id of the dag
execution_date The execution date of the DAG
optional arguments:
-h, --help show this help message and exit
-o OUTPUT_PATH, --output-path OUTPUT_PATH
The output for generated yaml files
-S SUBDIR, --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'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org