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/11/25 09:06:28 UTC

[GitHub] [airflow] shiying2012 commented on issue #19673: More dynamic pod_mutation_hook, allowing access to task context and inputs

shiying2012 commented on issue #19673:
URL: https://github.com/apache/airflow/issues/19673#issuecomment-978987381


   My pod is in a similar situation. We are currently using taskflow API and KubernetesExecutor. 
   
   - task1 executes some SQL queries to get some strings. We would like task2 to use the strings obtained by task1 as labels for Kubernetes affinity scheduling, but unfortunately, it is not possible to dynamically generate pod_yaml for task2.
   
   - We would also like to set up the pool for task2 using some other strings output by task1, but for the same reason, this doesn't seem to work either.
   
   Any ideas?


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