Alan
07/26/2024, 6:56 PMMarvin
07/26/2024, 6:56 PMpython
customizations = [
{
"op": "add",
"path": "/metadata/annotations",
"value": {
"<http://cluster-autoscaler.kubernetes.io/safe-to-evict|cluster-autoscaler.kubernetes.io/safe-to-evict>": "false"
}
}
]
k8s_job = KubernetesJob(
namespace=namespace,
image=image_name,
customizations=customizations,
)
To confirm this, please visit the respective Prefect documentation links:
1. Work Pools
2. KubernetesJob Infrastructure
If you need more detailed guidance catered to your exact query, it might be helpful to reach out to the Prefect community or check for more recent updates in the documentation.Nate
07/26/2024, 7:33 PMKubernetesJob
hereAlan
07/28/2024, 7:22 AM"metadata": {
"labels": {
"app": "prefect-DNR"
},
"annotations": {
"<http://cluster-autoscaler.kubernetes.io/safe-to-evict|cluster-autoscaler.kubernetes.io/safe-to-evict>": "false"
}
}
it worked because I can see it when i describe the jobBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by