[ 
https://issues.apache.org/jira/browse/AIRFLOW-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972422#comment-16972422
 ] 

ASF GitHub Bot commented on AIRFLOW-5066:
-----------------------------------------

potiuk commented on pull request #5680: [AIRFLOW-5066] allow k8s fieldref 
substitution
URL: https://github.com/apache/airflow/pull/5680
 
 
   
 
----------------------------------------------------------------
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:
[email protected]


> Usage of FieldRef in Kubernetes env execution
> ---------------------------------------------
>
>                 Key: AIRFLOW-5066
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5066
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executors
>    Affects Versions: 1.10.4, 2.0.0, 1.10.5
>            Reporter: Julien Surloppe
>            Priority: Minor
>
> In Kubernetes, dynamic pod metadata can be set as environment variables and 
> then used as substitution in other environment variables.
> Currently in Airflow, the pod request creation set those variables after the 
> ones that can use substitutions so them doen't do it.
> Example usage is:
>  * define a variable SPARK_LOCAL_IP using the pod metadata status.podIP
>  * using this variable in Spark options as 
> -Dspark.driver.host=$(SPARK_LOCAL_IP)
> I will do a PR to fix this behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to