How do I run steps that run arbitrary containers #18052
Unanswered
Replies: 1 comment 3 replies
-
I guess the broader question here may be: how can I run a Kuberneras job, whose code is defined by dagster on an specialized image that doesn't know about dagster? Is there a way to do this through code locations / grpc servers? Or would the issue be that the dagster code gets tangled with the specialized image? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
We're trying to setup a job that runs 2 ops, where each op is defined via k8s_job_op and runs on its own image in Kubernetes. The images are arbitrary and know nothing about Dagster.
I'm getting an error in the step-pod that is spawned, that makes it seem like its required for the op images to contain all of the Dagster definitions (Sorry for some typos, I had to type this up manually):
_dagster.core.errors.DagsterImportError: Encountered ImportError:
No module named dummy_dagster_module
while importing module dummy_dagster_module. Local modules were resolved using the working directory '/app'. If another working directory should be used, please explicitly specify the appropriate path using the-d
or--working-directory
for CLI based targets or theworking_directory
configuration option for workspace targetsMy questions are:
The question was originally asked in Dagster Slack.
Beta Was this translation helpful? Give feedback.
All reactions