Sean Han
03/03/2023, 10:46 PMop_tags
like this and select to materialize the asset, the asset job will use this config, right? I’m currently not seeing this, not sure what is wrong
@multi_asset(
...
op_tags={
"dagster-k8s/config": {
"container_config": {
"resources": {
"requests": {"cpu": "5000m", "memory": "64Gi"}
},
},
}
}
)
def test_asset(context: OpExecutionContext) -> pd.DataFrame:
pass
Sean Han
03/03/2023, 10:49 PMSean Han
03/03/2023, 10:55 PMdaniel
03/03/2023, 10:58 PMSean Han
03/03/2023, 10:59 PMdaniel
03/03/2023, 11:00 PMSean Han
03/03/2023, 11:03 PMk8s_job_executor
, I can also use the dagster-k8s/config
tag on a Dagster op to control the Kubernetes configuration for that specific op. Does this apply to asset?
https://docs.dagster.io/deployment/guides/kubernetes/customizing-your-deployment#instance-level-kubernetes-configurationdaniel
03/03/2023, 11:04 PMdaniel
03/03/2023, 11:04 PMSean Han
03/03/2023, 11:06 PM*@repository*(default_executor_def=k8s_job_executor)
, is what I described above mean that tag is not applied? or applied and I can’t see itdaniel
03/03/2023, 11:06 PMSean Han
03/03/2023, 11:06 PMdaniel
03/03/2023, 11:08 PMdaniel
03/03/2023, 11:08 PMSean Han
03/03/2023, 11:11 PMdaniel
03/03/2023, 11:12 PMSean Han
03/03/2023, 11:13 PMdaniel
03/03/2023, 11:14 PMSean Han
03/03/2023, 11:14 PM