-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add session property #156
add session property #156
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,6 +173,31 @@ resourceGroups: {} | |
# ] | ||
# } | ||
|
||
sessionPropertyConfig: {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @joshuasu-async sorry for the delay. I recently added a more complete test in https://github.com/trinodb/charts/blob/main/test-values.yaml. Can you update it to enable this config so we know this works correctly? Also, please rebase and see the updated way of formatting examples here. We now include them in the README, so they should be formatted using Markdown. |
||
# # Session property config file is mounted to /etc/trino/session-property-config/session-property-config.json | ||
# sessionPropertyConfig: |- | ||
# [ | ||
# { | ||
# "group": "global.admin", | ||
# "sessionProperties": { | ||
# "query_max_execution_time": "5h", | ||
# "scale_writers": "true" | ||
# } | ||
# }, | ||
# { | ||
# "group": "global.finance_human_resources", | ||
# "sessionProperties": { | ||
# "query_max_execution_time": "3h" | ||
# } | ||
# }, | ||
# { | ||
# "group": "global.general", | ||
# "sessionProperties": { | ||
# "query_max_scan_physical_bytes": "1GB", | ||
# "query_max_cpu_time": "10m" | ||
# } | ||
# } | ||
# ] | ||
|
||
additionalNodeProperties: {} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure historically as to why some config is deployed to a new configmap while everything else (node.properties, jvm.config etc) is deployed into a single configmap?
However if a separate configmap is still desired, please avoid hardcoding the name and instead make use of a template function? See the naming used for the main configmap and the example in #170 and #109 .
It is helpful (for testing etc) to be able to ensure that multiple trino instances can be deployed into a single namespace.