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

Attila Mészáros updated FLINK-38285:
------------------------------------
    Summary: Allow to override config options with environment variables  (was: 
Allow to overrride config options with environment variables)

> Allow to override 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
>  * prefixed by "FLINK_CONF_"
> Thus "restart-strategy.failure-rate.delay" => 
> "FLINK_CONF_RESTART_{_}STRATEGY_FAILURE{_}__RATE_DELAY"
> (Complex values are not an issue, can be simply in quotes like "1 m". )
>  
>  



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

Reply via email to