Daniel Gafni
07/19/2022, 2:00 PMdagster-k8s
it seems like they are ignoreddaniel
07/19/2022, 3:37 PMdefine_asset_job
and put the tags on the tags argument to that function, but i'm confirming that that's correct with the teamsandy
07/19/2022, 3:43 PMDaniel Gafni
07/19/2022, 3:53 PMdaniel
07/19/2022, 3:54 PMk8s_job_executor
? Where you are configuring that in your code?Daniel Gafni
07/19/2022, 5:13 PMdaniel
07/19/2022, 5:14 PM@asset(
op_tags={
"dagster-k8s/config": {
"container_config": {
"resources": {
"requests": {"memory": "64Gi"},
"limits": {"memory": "96Gi"},
}
},
"pod_spec_config": {
"tolerations": [
k8s.V1Toleration(key="node-role.sbermarket.tech/ml", operator="Equal", value="", effect="NoSchedule").to_dict()
]
},
},
},
)
Daniel Gafni
07/19/2022, 5:16 PMdaniel
07/19/2022, 5:17 PMDaniel Gafni
07/19/2022, 5:17 PMimage
used for the op?
Setting
op_tags={
"dagster-k8s/config": {
"container_config": {
"image": "my-image",
}}}
doesn't do anything.
The custom images has identical code but supports cuda
unlike my default image.daniel
07/19/2022, 7:06 PMDaniel Gafni
07/19/2022, 7:12 PM