https://dagster.io/ logo
Title
t

Thomas

03/16/2023, 12:40 PM
Where should I store my custom launch runners? Right now I store it in
CustomDagsterFiles
but this cannot be found as a module.
dagster._check.CheckError: Failure condition: Couldn't import module CustomDagsterFiles when attempting to load the configurable class CustomDagsterFiles.NomadRunLauncher
y

yuhan

03/16/2023, 11:17 PM
here’s the deployment architecture diagram: https://docs.dagster.io/deployment/overview run launchers usually are not co-located with the dagster project itself. do you mind sharing your high-level structure so we could further assist.
t

Thomas

03/17/2023, 4:21 PM
Thanks! I have a dagster project running in a single docker container. I want to spawn my jobs with Nomad (an orchestration tool). I have no errors importing the file anymore but it is not being used as the actual RunLauncher. Even though i specified it in dagster.yaml
run_launcher:
  module: workflows.NomadRunLauncher
  class: NomadRunLauncher
  config:
    nomad_url: <http://test.nl|test.nl>