Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions charts/trino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
- name: extras
mountPath: /usr/share/extras
readOnly: true
* `coordinator.priorityClassName` - string, default: `nil`
* `coordinator.annotations` - object, default: `{}`

Annotations to add to the coordinator pod.
Expand Down Expand Up @@ -764,6 +765,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
mountPath: /usr/share/extras
readOnly: true
```
* `worker.priorityClassName` - string, default: `nil`
* `worker.annotations` - object, default: `{}`

Annotations to add to the worker pods.
Expand Down
3 changes: 3 additions & 0 deletions charts/trino/templates/deployment-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ spec:
{{- tpl (toYaml .Values.coordinator.labels) . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.coordinator.priorityClassName }}
priorityClassName: {{ .Values.coordinator.priorityClassName }}
{{- end }}
serviceAccountName: {{ include "trino.serviceAccountName" . }}
{{- with .Values.securityContext }}
securityContext:
Expand Down
3 changes: 3 additions & 0 deletions charts/trino/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
{{- tpl (toYaml .Values.worker.labels) . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.worker.priorityClassName }}
priorityClassName: {{ .Values.worker.priorityClassName }}
{{- end }}
serviceAccountName: {{ include "trino.serviceAccountName" . }}
{{- with .Values.securityContext }}
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,8 @@ coordinator:
# mountPath: /usr/share/extras
# readOnly: true

priorityClassName: ~

annotations: {}
# coordinator.annotations -- Annotations to add to the coordinator pod.
# @raw
Expand Down Expand Up @@ -954,6 +956,8 @@ worker:
# readOnly: true
# ```

priorityClassName: ~

annotations: {}
# worker.annotations -- Annotations to add to the worker pods.
# @raw
Expand Down
Loading