Attila Mészáros created FLINK-38285:
---------------------------------------

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


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.

 

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