Skip to content

Conversation

@tweise
Copy link
Contributor

@tweise tweise commented May 1, 2025

Customization points for init and side car containers to the helm chart, which are common in non-trivial deployments.

@tweise tweise requested review from gyfora, morhidi and mxm May 1, 2025 01:24
jvmArgs:
webhook: ""
operator: ""
operatorLog: "-Dlog4j.configurationFile=/opt/flink/conf/log4j-operator.properties"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the log args be simply part of jvmArgs.operator? (Although that may be a breaking change)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entry point simply combines them for both operator and webhook: $LOG_CONFIG $JVM_ARGS

however moving the log default to jvmArgs.operator and jvmArgs.webhook would introduce duplication and not be compatible with existing usage of those settings (log settings would be lost for everyone that uses jvmArgs currently.

value: /opt/flink/plugins
- name: LOG_CONFIG
value: -Dlog4j.configurationFile=/opt/flink/conf/log4j-operator.properties
value: {{ .Values.jvmArgs.operatorLog }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be .Values.jvmArgs.operatorLogConfig or .Values.jvmArgs.logConfig

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@morhidi renamed to logConfig, assuming it should be shared.

@morhidi morhidi self-requested a review May 6, 2025 02:24
@tweise tweise merged commit 9619ae6 into apache:main May 6, 2025
130 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants