[ 
https://issues.apache.org/jira/browse/FLINK-38285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gyula Fora reassigned FLINK-38285:
----------------------------------

    Assignee: Attila Mészáros

> Allow to overrride config options with environment variables
> ------------------------------------------------------------
>
>                 Key: FLINK-38285
>                 URL: https://issues.apache.org/jira/browse/FLINK-38285
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>            Reporter: Attila Mészáros
>            Assignee: Attila Mészáros
>            Priority: Major
>
> Overriding or setting config options using environment variables would make 
> the operator  more Kubernetes native since it is a common practice to have 
> settings propagated as env var (for Deployment object) in Kubernetes. Would 
> also help to override settings when running operator locally.
>  
> The only issue is how to encode flink config options as env vars, what I 
> propose is for names:
>  * dot would be replaced by by underscore: "." -> "_"
>  * - hypen by replaced by double underscore: "-" -> "__"
>  * to upper case
> Thus "restart-strategy.failure-rate.delay" => 
> "FLINK_CONF_RESTART_{_}STRATEGY_FAILURE{_}_RATE_DELAY"
> Similarly to values:
> "1 m" => "1_m"
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to