Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ server:
# PASSWORD, CERTIFICATE, OAUTH2, JWT, KERBEROS.
authenticationType: ""
query:
# -- Should be the same or slightly less than worker.resources memory values if set
maxMemory: "4GB"
exchangeManager: {}
# server.exchangeManager -- Mandatory [exchange manager
Expand Down Expand Up @@ -569,14 +570,17 @@ coordinator:
# coordinator.deployment.strategy -- The deployment strategy to use to replace existing pods with new ones.

jvm:
# -- Should be around 70% of coordinator.resources memory values if set
maxHeapSize: "8G"
gcMethod:
type: "UseG1GC"
g1:
# -- Should be around 10% of coordinator.resources memory values if set
heapRegionSize: "32M"

config:
memory:
# -- Should be around 30% of coordinator.resources memory values if set
heapHeadroomPerNode: ""
nodeScheduler:
includeCoordinator: false
Expand All @@ -585,6 +589,7 @@ coordinator:
# coordinator can negatively impact query performance because the machine's resources are not available for the
# critical coordinator tasks of scheduling, managing, and monitoring query execution.
query:
# -- Should be around 20% of coordinator.resources memory values if set
maxMemoryPerNode: "1GB"

additionalJVMConfig: []
Expand Down Expand Up @@ -754,16 +759,20 @@ worker:
# worker.deployment.strategy -- The deployment strategy to use to replace existing pods with new ones.

jvm:
# -- Should be around 70% of worker.resources memory values if set
Copy link
Member

Choose a reason for hiding this comment

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

We should link the Trino docs here (like these) instead of specifying concrete values.

maxHeapSize: "8G"
gcMethod:
type: "UseG1GC"
g1:
# -- Should be around 10% of worker.resources memory values if set
heapRegionSize: "32M"

config:
memory:
# -- Should be around 30% of worker.resources memory values if set
heapHeadroomPerNode: ""
query:
# -- Should be around 20% of worker.resources memory values if set
maxMemoryPerNode: "1GB"

additionalJVMConfig: []
Expand Down