Skip to content

Commit 183e60a

Browse files
linzebinghashhar
authored andcommitted
Add exchange manager properties to charts
1 parent 009de95 commit 183e60a

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

charts/trino/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The following table lists the configurable parameters of the Trino chart and the
2424
| `server.config.query.maxMemory` | | `"4GB"` |
2525
| `server.config.query.maxMemoryPerNode` | | `"1GB"` |
2626
| `server.config.memory.heapHeadroomPerNode` | | `"1GB"` |
27+
| `server.exchangeManager.name` | | `"filesystem"` |
28+
| `server.exchangeManager.baseDir` | | `"/tmp/trino-local-file-system-exchange-manager"` |
2729
| `server.jvm.maxHeapSize` | | `"8G"` |
2830
| `server.jvm.gcMethod.type` | | `"UseG1GC"` |
2931
| `server.jvm.gcMethod.g1.heapRegionSize` | | `"32M"` |
@@ -34,6 +36,7 @@ The following table lists the configurable parameters of the Trino chart and the
3436
| `additionalJVMConfig` | | `{}` |
3537
| `additionalConfigProperties` | | `{}` |
3638
| `additionalLogProperties` | | `{}` |
39+
| `additionalExchangeManagerProperties` | | `{}` |
3740
| `additionalCatalogs` | | `{}` |
3841
| `env` | | `[]` |
3942
| `securityContext.runAsUser` | | `1000` |

charts/trino/templates/configmap-coordinator.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ data:
5353
{{ $configValue }}
5454
{{- end }}
5555

56+
exchange-manager.properties: |
57+
exchange-manager.name={{ .Values.server.exchangeManager.name }}
58+
exchange.base-directory={{ .Values.server.exchangeManager.baseDir }}
59+
{{- range $configValue := .Values.additionalExchangeManagerProperties }}
60+
{{ $configValue }}
61+
{{- end }}
62+
5663
log.properties: |
5764
io.trino={{ .Values.server.log.trino.level }}
5865
{{- range $configValue := .Values.additionalLogProperties }}

charts/trino/templates/configmap-worker.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ data:
4848
{{ $configValue }}
4949
{{- end }}
5050

51+
exchange-manager.properties: |
52+
exchange-manager.name={{ .Values.server.exchangeManager.name }}
53+
exchange.encryption-enabled={{ .Values.server.exchangeManager.encryptionEnabled }}
54+
{{- range $configValue := .Values.additionalExchangeManagerProperties }}
55+
{{ $configValue }}
56+
{{- end }}
57+
5158
log.properties: |
5259
io.trino={{ .Values.server.log.trino.level }}
5360
{{- range $configValue := .Values.additionalLogProperties }}

charts/trino/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ server:
2626
maxMemoryPerNode: "1GB"
2727
memory:
2828
heapHeadroomPerNode: "1GB"
29+
exchangeManager:
30+
name: "filesystem"
31+
baseDir: "/tmp/trino-local-file-system-exchange-manager"
2932
jvm:
3033
maxHeapSize: "8G"
3134
gcMethod:
@@ -45,6 +48,8 @@ additionalConfigProperties: {}
4548

4649
additionalLogProperties: {}
4750

51+
additionalExchangeManagerProperties: {}
52+
4853
additionalCatalogs: {}
4954

5055
# Array of EnvVar (https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core)

0 commit comments

Comments
 (0)