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/01/11 01:17:13 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #6230: [AIRFLOW-5413] Allow K8S worker pod to be configured from JSON/YAML file

kaxil commented on a change in pull request #6230: [AIRFLOW-5413] Allow K8S worker pod to be configured from JSON/YAML file
URL: https://github.com/apache/airflow/pull/6230#discussion_r365483502
 
 

 ##########
 File path: airflow/contrib/operators/kubernetes_pod_operator.py
 ##########
 @@ -169,8 +171,9 @@ def __init__(self,  # pylint: disable=too-many-arguments,too-many-locals
                  dnspolicy: Optional[str] = None,
                  schedulername: Optional[str] = None,
                  full_pod_spec: Optional[k8s.V1Pod] = None,
-                 init_containers: Optional[List[k8s.V1Container]] = None,
                  do_xcom_push: bool = False,
+                 init_containers: Optional[List[k8s.V1Container]] = None,
+                 pod_template_file=None,
 
 Review comment:
   ```suggestion
                    pod_template_file: Optional[str] = None,
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services