oneturkmen commented on issue #27358:
URL: https://github.com/apache/airflow/issues/27358#issuecomment-1299376187

   @jedcunningham we wanted to have a BashSensor task that would ping an 
external service to see if some file is generated or not. If the file isn't 
there yet, we would keep pinging for some time, and only then if it's still not 
ready, then we would fail the task.
   
   > That is expected behavior, as the worker uses that to know what task to 
run.
   
   I did not expect that because we use `KubernetesPodOperator` where we supply 
our custom image which uses python as the base (i.e., `FROM python3.7` and not 
`FROM airflow:2.2.2`), and it seems to work as needed. You can see in the code 
snippets of the KubernetesPodOperator docs 
[here](https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/stable/operators.html#kubernetespodoperator)
 that we are able to override the image along with the command, which does not 
have the `airflow tasks run` command appended. Maybe I missing something here.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to