yovio-rca commented on issue #44325:
URL: https://github.com/apache/airflow/issues/44325#issuecomment-2546175883

   I managed to resolve the issue by making sure to set in_cluster attribute in 
KubernetesPodOperator to true.
   
   If unset the default is None and I think the subsequent logic will treat it 
as False.
   
   IMHO, the behavior need to change by looking at the in_cluster value from 
Configuration is attribute is None.
   
   The reason because by default in official helm chart, if we do not set 
in_cluster in config, it will be set to true.
   
   When you wrote a dag, most people probably will just leave it default or 
unset.
   
   Btw, the dag was working fine in "sync" mode, meaning I dont have to set 
in_cluster attribute and it will work fine.


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