XD-DENG commented on a change in pull request #4160: [AIRFLOW-3311] Allow pod 
operator to keep failed pods
URL: https://github.com/apache/incubator-airflow/pull/4160#discussion_r238685951
 
 

 ##########
 File path: airflow/contrib/operators/kubernetes_pod_operator.py
 ##########
 @@ -78,6 +78,13 @@ class KubernetesPodOperator(BaseOperator):
         /airflow/xcom/return.json in the container will also be pushed to an
         XCom when the container completes.
     :type xcom_push: bool
+    :param is_delete_operator_pod: Delete the pod after it completes
+    :type is_delete_operator_pod: bool
+    :param keep_failed_pod: Keep pods that exit with non zero error code. This 
allows
+                            for easy log inspection of failed pods - assuming 
the
+                            node is still in the cluster
+                            (only works when is_delete_operator_pod is True)
 
 Review comment:
   These 3 lines are not indented correctly, which will fail Sphinx rendering.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to