https://prefect.io logo
r

redsquare

06/28/2022, 11:34 AM
In case you need auto clean up of k8s jobs in prefect 2.0 you can add the following
customizations
to the k8sflowrunner cc @Kevin Kho
KubernetesFlowRunner(namespace="prefect", customizations=
[
{ "op": "add", "path": "/spec/ttlSecondsAfterFinished","value": 10}
])
upvote 4
🙌 1