Davis Kirkendall
07/25/2022, 8:50 PM@op(
# This task is extremely inefficient and requires a lot of memory
tags={
"dagster-k8s/config": {
"container_config": {
"resources": {
"requests": {"cpu": "500m", "memory": "8Gi"},
"limits": {"cpu": "2", "memory": "12Gi"},
}
},
}
}
)
def run_op(context: OpExecutionContext) -> None:
...
my_asset = AssetsDefinition.from_op(
run_op,
)
The run launcher config is set to:
run_launcher:
module: dagster_k8s
class: K8sRunLauncher
config:
...
resources:
limits:
cpu: '1'
memory: 2Gi
requests:
cpu: 500m
memory: 1Gi
...
Any ideas why this wouldn't work?rex
07/25/2022, 9:15 PMrex
07/25/2022, 9:16 PMDavis Kirkendall
07/25/2022, 9:18 PMDavis Kirkendall
07/25/2022, 9:18 PMdaniel
07/26/2022, 2:52 AMdaniel
07/26/2022, 2:53 AMdaniel
07/26/2022, 2:54 AMTimo
07/26/2022, 11:41 AM