# ask-community

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.


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

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 ( 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?