Skip to content

Commit

Permalink
Merge pull request #415 from galaxyproject/interesting-wolverine
Browse files Browse the repository at this point in the history
Use pod priority class for jobs
  • Loading branch information
nuwang authored Mar 7, 2023
2 parents 1ff9142 + 5096117 commit 1bc44b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Define pod priority class
*/}}
{{- define "galaxy.pod-priority-class" -}}
{{- if .Values.jobs.priorityClass.existingClass -}}
{{- printf "%s" .Values.jobs.priorityClass.existingClass -}}
{{- tpl .Values.jobs.priorityClass.existingClass . -}}
{{- else -}}
{{- printf "%s-job-priority" (include "galaxy.fullname" .) -}}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion galaxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ configs:
k8s_job_ttl_secs_after_finished: 90
k8s_pod_priority_class: >-
{{ if .Values.jobs.priorityClass.enabled -}}
{{- include "galaxy.fullname" . }}-job-priority
{{- include "galaxy.pod-priority-class" . }}
{{- end }}
k8s_interactivetools_use_ssl: true
k8s_interactivetools_ingress_annotations: |
Expand Down

0 comments on commit 1bc44b9

Please sign in to comment.