Sundara Moorthy
03/08/2023, 6:48 AMrun_launcher:
module: dagster_k8s.launcher
class: K8sRunLauncher
config:
service_account_name: your_service_account
job_image: my_project/dagster_image:latest
instance_config_map: dagster-instance
postgres_password_secret: dagster-postgresql-secret
1. Should I need to create empty config map ? And what's the use of it?
2. Should I need to spin up postgres for postgres_password_secret ?
Note : I am using execute_job .
instance = DagsterInstance.get()
result = execute_job(reconstructable(test_job), instance=instance)
johann
03/09/2023, 3:38 PMexecute_job
api is intended for executing things locally. Once you start deploying to kubernetes, you need things like postgres (for runs to log to) and a docker image with your job code.johann
03/09/2023, 3:39 PMSundara Moorthy
03/09/2023, 6:21 PMjohann
03/09/2023, 7:06 PMexecute_job
, you get in to undefined behavior and will hit strange errors.Sundara Moorthy
03/09/2023, 8:12 PMjohann
03/09/2023, 9:18 PMSundara Moorthy
03/10/2023, 5:40 AM