[
https://issues.apache.org/jira/browse/FLINK-19139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191522#comment-17191522
]
Mohammad Hossein Gerami commented on FLINK-19139:
-------------------------------------------------
Hi [[email protected]]
Yes But usually is beneficial in Kubernetes. just set an environment variable
like ENABLE_* and in deployment time replace variables in flink-conf.yml.
{noformat}
jobmanager.rpc.port: ${JM_RPC_PORT}
{noformat}
The best example is [Logstash
Configuration|[https://www.elastic.co/guide/en/logstash/current/environment-variables.html]].
Meanwhile, I would like to Implement the task.
> flink-conf.yml read values from environment variables
> -----------------------------------------------------
>
> Key: FLINK-19139
> URL: https://issues.apache.org/jira/browse/FLINK-19139
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Configuration
> Reporter: Mohammad Hossein Gerami
> Priority: Minor
>
> I would like to sync my Flink configs with environment variables.
> For example:
> state.backend.rocksdb.metrics.actual-delayed-write-rate: ${ENABLE_METRICS}
> state.backend.rocksdb.metrics.background-errors: ${ENABLE_METRICS}
> state.backend.rocksdb.metrics.block-cache-capacity: ${ENABLE_METRICS}
> ...
> state.backend.rocksdb.metrics.block-cache-pinned-usage: ${ENABLE_METRICS}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)