https://prefect.io logo
Title
a

Alvaro Durán Tovar

02/15/2022, 7:52 PM
When using k8s
RunNamespacedJob
is possible to get the logs from the job and have them on prefect ui? I'm setting
log_level
but that isn't working
k

Kevin Kho

02/15/2022, 7:53 PM
You need to use the ReadNamedspacedPodLogs task because this compute is happening on a different process so we need to use the API to fetch the logs
that's inside RunNamespacedJob
k

Kevin Kho

02/16/2022, 2:15 PM
Ah I think you are running into this