mik-laj commented on a change in pull request #10677:
URL: https://github.com/apache/airflow/pull/10677#discussion_r483248984
##########
File path: airflow/cli/commands/dag_command.py
##########
@@ -378,6 +380,48 @@ def dag_list_dag_runs(args, dag=None):
print(table)
+@cli_utils.action_logging
+def generate_pod_yaml(args):
+ """Generates yaml files for each task in the DAG. Used for testing output
of KubernetesExecutor"""
+
+ from kubernetes.client.api_client import ApiClient
Review comment:
This is a command that is intended for the end user. Do you think it's
worth adding a friendly message that will be displayed when Kubernetes is not
installed or not configured?
----------------------------------------------------------------
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:
[email protected]