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 2022/02/28 15:38:52 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #21871: Add map_index to pods launched by KubernetesExecutor

uranusjr commented on a change in pull request #21871:
URL: https://github.com/apache/airflow/pull/21871#discussion_r816002648



##########
File path: airflow/models/taskinstance.py
##########
@@ -2074,11 +2074,13 @@ def render_k8s_pod_yaml(self) -> Optional[dict]:
         kube_config = KubeConfig()
         pod = PodGenerator.construct_pod(
             dag_id=self.dag_id,
+            run_id=self.run_id,
             task_id=self.task_id,
+            map_index=self.map_index,
+            date=None,
             pod_id=create_pod_id(self.dag_id, self.task_id),
             try_number=self.try_number,
             kube_image=kube_config.kube_image,
-            date=self.execution_date,

Review comment:
       Not sure about compatibility here, otherwise lgtm.




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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org