[ 
https://issues.apache.org/jira/browse/FLINK-29206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603918#comment-17603918
 ] 

Matyas Orhidi commented on FLINK-29206:
---------------------------------------

We used to have two separate config files for these, one default config for 
Flink and another one for the Operator. It was unified for the sake of 
simplicity: 
[https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/configuration/#specifying-operator-configuration.]
 cc [~gyfora] 

> Default Flink configuration contains irrelevant settings
> --------------------------------------------------------
>
>                 Key: FLINK-29206
>                 URL: https://issues.apache.org/jira/browse/FLINK-29206
>             Project: Flink
>          Issue Type: Bug
>          Components: Kubernetes Operator
>    Affects Versions: 1.15.2
>            Reporter: Arseniy Tashoyan
>            Assignee: Márton Balassi
>            Priority: Major
>
> The default configuration of a FlinkDeployment contains the following 
> settings:
> {code:yaml}
> kubernetes.operator.metrics.reporter.slf4j.interval: 5 MINUTE
> kubernetes.operator.metrics.reporter.slf4j.factory.class: 
> org.apache.flink.metrics.slf4j.Slf4jReporterFactory
> kubernetes.operator.reconcile.interval: 15 s
> kubernetes.operator.observer.progress-check.interval: 5 s
> {code}
>  
> These settings are specific to Flink Kubernetes Operator itself, but not to 
> Flink applications that the Operator runs. Although these settings most 
> probably do not make any influence on a Flink application (they are just 
> ignored), but the configuration is misleading. It would be better to remove 
> these settings from the default configuration of a Flink application.
> Actually these settings come from the _defaultConfiguration_ section of the 
> file {_}helm/flink-kubernetes-operator/values.yaml{_}:
> {code:yaml}
> defaultConfiguration:   ...
>   flink-conf.yaml: |+
>     # TODO Remove these Operator-specific settings - they are irrelevant to 
> Flink apps
>     kubernetes.operator.metrics.reporter.slf4j.factory.class: 
> org.apache.flink.metrics.slf4j.Slf4jReporterFactory
>     kubernetes.operator.metrics.reporter.slf4j.interval: 5 MINUTE
>     kubernetes.operator.reconcile.interval: 15 s
>     kubernetes.operator.observer.progress-check.interval: 5 s
> {code}
> This piece of configuration is misleading - is it the configuration of the 
> Operator itself or the configuration of applications started by the Operator?



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

Reply via email to