Keith Gross
07/27/2022, 9:13 PMKeith Gross
07/28/2022, 9:51 PMdaniel
07/29/2022, 3:01 AMdaniel
07/29/2022, 3:04 AMKeith Gross
07/29/2022, 3:13 AMKeith Gross
07/29/2022, 3:24 AMdaniel
07/29/2022, 3:37 AMKeith Gross
07/29/2022, 3:41 AMJim Nisivoccia
07/29/2022, 1:48 PMdaniel
07/29/2022, 2:16 PMdaniel
07/29/2022, 2:16 PMJim Nisivoccia
07/29/2022, 2:42 PMJim Nisivoccia
07/29/2022, 5:38 PMJim Nisivoccia
07/29/2022, 9:08 PMdaniel
07/29/2022, 9:23 PMdaniel
07/29/2022, 9:23 PMJim Nisivoccia
08/01/2022, 1:01 PMdaniel
08/01/2022, 1:02 PMJim Nisivoccia
08/01/2022, 1:02 PMdaniel
08/01/2022, 1:03 PMdaniel
08/01/2022, 1:04 PMdaniel
08/01/2022, 1:06 PMdaniel
08/01/2022, 1:09 PMJim Nisivoccia
08/01/2022, 1:13 PMrunLauncher:
type: CeleryK8sRunLauncher
config:
# This configuration will only be used if the K8sRunLauncher is selected
# k8sRunLauncher:
# # Change with caution! If you're using a fixed tag for pipeline run images, changing the
# # image pull policy to anything other than "Always" will use a cached/stale image, which is
# # almost certainly not what you want.
# imagePullPolicy: "Never"
# envSecrets:
# - name: dagster-secrets
celeryK8sRunLauncher:
# Change with caution! If you're using a fixed tag for pipeline run images, changing the
# image pull policy to anything other than "Always" will use a cached/stale image, which is
# almost certainly not what you want.
imagePullPolicy: "Never"
# # The Celery workers can be deployed with a fixed image (no user code included)
# image:
# # When a tag is not supplied for a Dagster provided image,
# # it will default as the Helm chart version.
# repository: "<http://datamaxdev1.jfrog.io/datamax/dev/docker_datamax_etl_pipelines|datamaxdev1.jfrog.io/datamax/dev/docker_datamax_etl_pipelines>"
# tag: ~
# pullPolicy: Always
# Support overriding the name prefix of Celery worker pods
nameOverride: "celery-workers"
# Additional config options for Celery, applied to all queues.
# These can be overridden per-queue below.
# For available options, see:
# <https://docs.celeryq.dev/en/stable/userguide/configuration.html>
configSource: {}
# Additional Celery worker queues can be configured here. When overriding, be sure to
# provision a "dagster" worker queue, as this is the default queue used by Dagster.
#
# Optionally, labels and node selectors can be set on the Celery queue's workers.
# Specifying a queue's node selector will override any existing node selector defaults.
# configSource will be merged with the shared configSource above.
workerQueues:
- name: "dagster"
replicaCount: 2
labels: {}
nodeSelector: {}
configSource: {}
additionalCeleryArgs: []
- name: "data-sourcing"
replicaCount: 2
labels: {}
nodeSelector: {}
configSource: {}
additionalCeleryArgs: []
# Additional environment variables to set on the celery/job containers
# A Kubernetes ConfigMap will be created with these environment variables. See:
# <https://kubernetes.io/docs/concepts/configuration/configmap/>
#
# Example:
#
# env:
# ENV_ONE: one
# ENV_TWO: two
env: {}
# Additional environment variables can be retrieved and set from ConfigMaps. See:
# <https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-container-environment-variables>
#
# Example:
#
# envConfigMaps:
# - name: config-map
envConfigMaps: []
# Additional environment variables can be retrieved and set from Secrets. See:
# <https://kubernetes.io/docs/concepts/configuration/secret/#use-case-as-container-environment-variables>
#
# Example:
#
# envSecrets:
# - name: secret
envSecrets:
- name: dagster-secrets
annotations: {}
# Sets a node selector as a default for all Celery queues.
#
# See:
# <https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector>
nodeSelector: {}
# Support affinity and tolerations for Celery pod assignment. See:
# <https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity>
# <https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/>
affinity: {}
tolerations: []
podSecurityContext: {}
securityContext: {}
# Specify resources.
# Example:
#
# resources:
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
resources: {}
`# If livenessProbe
does not contain exec
field, then we will default to using:`
# exec:
# command:
# - /bin/sh
# - -c
# - dagster-celery status -A <http://dagster_celery_k8s.app|dagster_celery_k8s.app> -y {{ $.Values.global.dagsterHome }}/celery-config.yaml | grep "${HOSTNAME}:.*OK"
livenessProbe:
initialDelaySeconds: 15
periodSeconds: 10
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 3
exec:
command:
- /bin/sh
- -c
- ls
# Additional volumes that should be included in the Job's Pod. See:
# <https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#volume-v1-core>
#
# Example:
#
# volumes:
# - name: my-volume
# configMap: my-config-map
volumes: []
# Additional volume mounts that should be included in the container in the Job's Pod. See:
# See: <https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#volumemount-v1-core>
#
# Example:
#
# volumeMounts:
# - name: test-volume
# mountPath: /opt/dagster/test_folder
# subPath: test_file.yaml
volumeMounts: []
# Additional labels that should be included in the Job's Pod. See:
# <https://kubernetes.io/docs/concepts/overview/working-with-objects/labels>
#
# Example:
# labels:
# my_label_key: my_label_value
labels: {}
# Whether the launched Kubernetes Jobs and Pods should fail if the Dagster run fails.
failPodOnRunFailure: false
Jim Nisivoccia
08/01/2022, 1:14 PMdaniel
08/01/2022, 1:15 PMJim Nisivoccia
08/01/2022, 1:15 PMJim Nisivoccia
08/01/2022, 1:21 PMdaniel
08/01/2022, 1:22 PMJim Nisivoccia
08/01/2022, 1:24 PMdaniel
08/01/2022, 1:26 PMJim Nisivoccia
08/01/2022, 1:29 PM