madhurt
06/30/2021, 9:39 PMk8sLauncher
. It creates separate jobs for each pipeline run. Now, just like one can assign pods to a specific worker node using the nodeSelector OR affinity OR tolerations
properties. Can I assign each job created by the k8sLauncher
to a specific node? I don’t see these properties for k8sLauncher
in .Values
thingie by helm
. But I do see these properties for celeryK8sRunLauncher
. Does that mean I need to switch to ``celeryK8sRunLauncher``?rex
06/30/2021, 11:02 PMmadhurt
07/02/2021, 6:56 PMnodeSelector
should ensure that jobs launched by the k8sLauncher
go to that specific node? (Notice that I want to send jobs to a node, not the user deployment image pod).
Also, can we apply such tags to a repository
and sensors
as well? or only pipelines
and solids
?TypeError: __init__() got an unexpected keyword argument 'nodeSelector'
tags={
'dagster-k8s/config': {
'pod_spec_config': {
'nodeSelector': {
"jobs": "true"
}
}
}
}
node_selector
, will try again and let you know if this worksnodeSelector
property for the dagster-postgres
pod? I couldn’t find it in the global .Values
thingie for YAML and even if I did in the .Values
specific to postgres
, I found it in 2 places under Postgres master
and Postgres slave
. Do I set it 2 times for master and slave?
2) Can I apply these tags to sensors, repository
and schedules
as well?rex
07/06/2021, 10:50 PM