https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Sundara Moorthy

03/08/2023, 7:48 PM
Hi everyone, is there any way to use k8_job_executor with dagster.execute_job ?
On using k8_job_executor with dagster.execute_job facing below error on the step jobs
Copy code
dagster._check.CheckError: Expected non-None value: Pipeline run with id 'ffd05cb7-eb17-4e7a-9a50-3adcd0c1c616' not found for run execution.
c

chris

03/08/2023, 10:13 PM
Mind posting the full trace?
s

Sundara Moorthy

03/09/2023, 1:20 PM
I am able to achieve it by defining the postgres in dagster-yaml as per this chat (https://dagster.slack.com/archives/C014UDS8LAV/p1673505926028249?thread_ts=1673476412.189179&cid=C014UDS8LAV). But i have two questions with the current setup 1. What is the use of the instance config map ? (I can see it has the values similar to dagster.yaml). And why it is compulsory field in k8RunLauncher? 2. And why postgres_password_secret is also compulsory field?