[
https://issues.apache.org/jira/browse/AIRFLOW-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838749#comment-16838749
]
Daniel Imberman commented on AIRFLOW-3989:
------------------------------------------
[~iwilltry42] Airflow checks named env var options before it goes to the config
file
[https://github.com/apache/airflow/blob/master/airflow/configuration.py#L191]
> No way to set Kubernetes node_selectors or annotations as environment
> variables
> -------------------------------------------------------------------------------
>
> Key: AIRFLOW-3989
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3989
> Project: Apache Airflow
> Issue Type: Wish
> Components: kubernetes
> Affects Versions: 1.10.2
> Reporter: Thorsten K
> Assignee: Daniel Imberman
> Priority: Critical
> Labels: Kubernetes, kubernetes
>
> Hey,
> After checking out this PR: [https://github.com/apache/airflow/pull/4589]
> I realized, that there is no way to set kubernetes_node_selectors or
> kubernetes_annotations via environment variables, as the respective sections
> won't be looked up in environment variables.
> Is it possible to add this functionality? It blocks us from using
> environment-based configuration.
> I saw, that there's the `getsection()` function, but it's not being used...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)