https://dagster.io/ logo
#dagster-cloud
Title
# dagster-cloud
m

Michael Rondinelli

01/17/2023, 7:55 PM
Hi Dagster folks! We’re evaluating orchestration platforms right now. While many of us use Python, some of our users need to code operations in C++ and would like to build them within a Docker container. Is there a good way to do this in the Dagster ecosystem?
❤️ 1
d

daniel

01/17/2023, 8:05 PM
Hey MIchael - do you know yet where you would be running your Dagster agent? (K8s/ECS/serverless/etc.)
m

Michael Rondinelli

01/17/2023, 9:02 PM
K8s
d

daniel

01/17/2023, 9:03 PM
That's what I was hoping you'd say - we have a
k8s_job_op
that lets you run an arbitrary Docker container as a Dagster op: https://docs.dagster.io/_apidocs/libraries/dagster-k8s#ops
(somewhat analogous to the KubernetesPodOperator in airflow if you've used that before)
m

Michael Rondinelli

01/17/2023, 9:25 PM
Thanks, we’ll take a look!
z

Zach P

01/17/2023, 9:43 PM
Out of curiosity, what’s the best way to go about doing this in dagster serverless? We don’t have anything right now, but are scoping out something that may land here ~Q2.
d

daniel

01/17/2023, 9:44 PM
We don't have support in Serverless for launching arbitrary containers/tasks right now unfortunately - eventually we may, but in the short term we would probably steer a user towards hybrid deployment for that use case
👍 2
d

David Gasquez

01/18/2023, 9:38 AM
I'm on the same boat! We're mostly python but have some workloads in Docker. Would it be possible to run things like https://cloud.google.com/batch/ jobs from Serverless?
d

daniel

01/18/2023, 1:54 PM
You could absolutely kick off a job like that from within a dagster op, yeah - as long as they have an api that can be invoked from Python
2 Views