Skip to content

Commit

Permalink
fix(chart): update configmap defaults for new version of trino jvm (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-x authored Apr 16, 2024
1 parent 5848667 commit 0026773
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/trino/templates/configmap-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ data:

jvm.config: |
-server
-XX:+IgnoreUnrecognizedVMOptions
-Xmx{{ .Values.coordinator.jvm.maxHeapSize }}
-XX:+{{ .Values.coordinator.jvm.gcMethod.type }}
-XX:G1HeapRegionSize={{ .Values.coordinator.jvm.gcMethod.g1.heapRegionSize }}
Expand Down
1 change: 1 addition & 0 deletions charts/trino/templates/configmap-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ data:

jvm.config: |
-server
-XX:+IgnoreUnrecognizedVMOptions
-Xmx{{ .Values.worker.jvm.maxHeapSize }}
-XX:+{{ .Values.worker.jvm.gcMethod.type }}
-XX:G1HeapRegionSize={{ .Values.worker.jvm.gcMethod.g1.heapRegionSize }}
Expand Down
10 changes: 10 additions & 0 deletions charts/trino/templates/deployment-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,23 @@ spec:
{{- end }}
{{- end }}
{{- end -}}
{{- if .Values.metrics.enabled }}
- name: config-volume
mountPath: /usr/lib/trino/utils/exporter_config.yaml
subPath: exporter_config.yaml
{{- end -}}
{{- with .Values.coordinator.extraVolumeMounts }}
{{- . | toYaml | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
{{- if .Values.metrics.enabled }}
- name: metrics
containerPort: {{ .Values.metrics.port }}
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /v1/info
Expand Down

0 comments on commit 0026773

Please sign in to comment.