Changeset View
Changeset View
Standalone View
Standalone View
helm/dagster/templates/deployment-celery-extras.yaml
{{ if .Values.celery.extraWorkerQueues }} | {{- if and .Values.celery.enabled .Values.celery.extraWorkerQueues }} | ||||
{{ range $queue := .Values.celery.extraWorkerQueues }} | {{ range $queue := .Values.celery.extraWorkerQueues }} | ||||
apiVersion: apps/v1 | apiVersion: apps/v1 | ||||
kind: Deployment | kind: Deployment | ||||
metadata: | metadata: | ||||
name: {{ include "dagster.workers.fullname" $ -}}-{{- $queue.name }} | name: {{ include "dagster.workers.fullname" $ -}}-{{- $queue.name }} | ||||
labels: | labels: | ||||
{{- include "dagster.labels" $ | nindent 4 }} | {{- include "dagster.labels" $ | nindent 4 }} | ||||
component: celery | component: celery | ||||
▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | template: | ||||
{{- end }} | {{- end }} | ||||
{{- with $.Values.celery.tolerations }} | {{- with $.Values.celery.tolerations }} | ||||
tolerations: | tolerations: | ||||
{{- toYaml . | nindent 8 }} | {{- toYaml . | nindent 8 }} | ||||
{{- end }} | {{- end }} | ||||
--- | --- | ||||
{{ end }} | {{ end }} | ||||
{{ end }} | {{ end }} | ||||
No newline at end of file | No newline at end of file |