Alec Koumjian
05/02/2023, 8:37 PMdagster-k8s/config
tag in the @job
definition. In an ideal world, I could query kubernetes for the list of matching PVC's and update the job definition at runtime so it mounts the right PVC for the environment (or if it has been updating dynamically by some other system).
Is there a way to have this set dynamically at launch time?daniel
05/03/2023, 12:26 AMAlec Koumjian
05/04/2023, 2:19 PMlaunchRunMutation
by setting launchRun.executionParams.executionMetadata.tags
, does that seem right?daniel
05/04/2023, 2:19 PMAlec Koumjian
05/04/2023, 2:20 PMYuval Grinberg
07/02/2023, 7:45 AMdagster._check.CheckError: Value in Mapping mismatches expected type for key dagster-k8s/config. Expected value of type <class 'str'>. Got value {'container_config': {'resources': {'limits': {'cpu': '42', 'memory': '243G'}, 'requests': {'cpu': '42', 'memory': '243G'}}}} of type <class 'dict'>.
apparently the type check of tags is different for when you set it through the @job or via a RunRequest. Any ideas on how to overcome this?Yuval Grinberg
07/02/2023, 7:58 AMYuval Grinberg
07/02/2023, 8:43 AM