Does anyone know of a way to apply some kind of tagging to the k8s jobs the agent starts so that I can easily use gcp metric explorer to see resource usage per flow_id? Everything is just
not sure how I can isolate one flow from another?
05/27/2022, 1:56 PM
This one I don’t have anything ready and yes I agree it’s hard. In prefect 2.0, the pod name matches the flow run name which makes things so much easier. For 1.0, I don’t think there is any feature to help with this
05/27/2022, 2:11 PM
Ok so the only way to go about it is to construct the whole job spec and add for each run config and specify tags in that?
05/27/2022, 2:59 PM
I think so yeah. I’ve seen people use Kubernetes annotations specifically