In Prefect 2, Is there a way to get labels that ap...
# prefect-kubernetes
j
In Prefect 2, Is there a way to get labels that appear in the Kubernetes
job
to appear on the
pod
it generates? Prefect 1.x put useful labels on the
pod
, e.g.
<http://prefect.io/flow_id|prefect.io/flow_id>
, which are no longer present in any Prefect 2
pod
and only appear on the
job
.
job
container labels don’t work for our purposes - we’re trying to use logs to set of alerts, and the label fields have to be on the
pod
. Happy to provide additional information, if it would be helpful!