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 2021/02/10 09:13:14 UTC

[GitHub] [airflow] getElementsByName edited a comment on issue #13967: KubernetesPodOperator with do_xcom_push makes 137 exit code error

getElementsByName edited a comment on issue #13967:
URL: https://github.com/apache/airflow/issues/13967#issuecomment-776559355


   @potiuk
   ### Problem
   - (airflow) The `airflow-xcom-sidecar` container waits a SIGINT signal by `trap "exit 0" INT;`. 
   - (airflow) The pod launcher in the airflow package stops the sidecar's main processor by `kill -s SIGINT 1`
   - (k8s) The PID1 process can be a init process made by a container runtime like the docker.
      - In the top example. The sidecar's main process is not PID 1. 
   - In the top example, the command (`kill -s SIGINT 1`) makes the 137 exit code.
   
   ### Expectation
   - The pod launcher can send the SIGINT signal to the sidecar's main process other than PID 1 only.


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