You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "raphaelauv (via GitHub)" <gi...@apache.org> on 2023/08/08 19:17:51 UTC

[GitHub] [airflow] raphaelauv commented on issue #33184: KubernetesPodOperator does not push XCOM

raphaelauv commented on issue #33184:
URL: https://github.com/apache/airflow/issues/33184#issuecomment-1670158363

   ```
       KubernetesPodOperator(
           namespace="default",
           kubernetes_conn_id="kubernetes_default",
           image="alpine:3.16.2",
           cmds=["sh", "-c", "mkdir -p /airflow/xcom/;echo '[1,2,3,4]' > /airflow/xcom/return.json"],
           name="write-xcom",
           do_xcom_push=True,
           on_finish_action="delete_pod",
           task_id="write-xcom",
           get_logs=True,
       )
   ```
   
   work with `apache-airflow-providers-cncf-kubernetes==7.4.1`


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