Skip to content

Commit

Permalink
Merge branch 'main' into log-extra-levels
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-nik committed Apr 22, 2024
2 parents bf597d4 + 521120a commit 438dd36
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions valeriano-manassero/trino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Kubernetes: `>= 1.24.0-0 < 1.29.0-0`
| config.worker.env | list | `[]` | |
| config.worker.envFrom | list | `[]` | |
| config.worker.extraConfig | string | `""` | |
| config.worker.extraVolumeMounts | object | `{}` | |
| config.worker.extraVolumes | object | `{}` | |
| config.worker.initContainers | list | `[]` | |
| config.worker.jvm.gcMethod.g1.heapRegionSize | string | `"32M"` | |
| config.worker.jvm.gcMethod.type | string | `"UseG1GC"` | |
Expand Down
8 changes: 8 additions & 0 deletions valeriano-manassero/trino/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
configMap:
name: {{ .configMapName }}
{{- end }}
{{- range $volumeName, $volume := .Values.config.worker.extraVolumes }}
- name: {{ $volumeName }}
{{- tpl (toYaml $volume) $ | nindent 10 -}}
{{- end }}
{{- if or .Values.jmxExporter.worker.enabled .Values.config.worker.initContainers }}
initContainers:
{{- if .Values.jmxExporter.worker.enabled }}
Expand Down Expand Up @@ -152,6 +156,10 @@ spec:
subPath: {{ .subPath }}
{{- end }}
{{- end }}
{{- range $mountName, $mount := .Values.config.worker.extraVolumeMounts }}
- name: {{ $mountName }}
{{- tpl (toYaml $mount) $ | nindent 14 -}}
{{- end }}
{{- if .Values.jmxExporter.worker.enabled }}
ports:
- name: jmx-exporter
Expand Down
10 changes: 10 additions & 0 deletions valeriano-manassero/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ config:
# preStop:
# exec:
# command: ["sh", "-c", "curl -v -X PUT -d '\"SHUTTING_DOWN\"' -H \"Content-type: application/json\" -H \"X-Trino-User: admin\" http://localhost:8080/v1/info/state"]
extraVolumeMounts: {}
# sample config for temp storage volume mount
# localtemp:
# mountpath: /tmp/localtemp
# readOnly: false
extraVolumes: {}
# sample config for temp storage volume
# localtemp:
# hostPath:
# path: /mnt


eventListenerProperties: {}
Expand Down

0 comments on commit 438dd36

Please sign in to comment.