Monthly Archives: July 2019

A closer look at Airflow’s KubernetesPodOperator and XCom

Published July 11, 2019 in data - 0 Comments

The KubernetesPodOperator handles communicating XCom values differently than other operators. The basics are described in the operator documentation under the xcom_push parameter. I’ve written up a more detailed example that expands on that documentation. An Airflow task instance described by the KubernetesPodOperator can write a dict to the file /airflow/xcom/return.json (always the same file) that […]