https://prefect.io logo
Title
i

Ivan Yakovlev

05/04/2023, 6:27 PM
Hi, I would like to link each running agent/flow run to infrastructure, say I have fixed number of VMs in cloud, and I would like my flow(s) to take one VM (from predefined pool of VMs), start it, send task to be executed and stop it inside flow, is there an ability to get somehow assign unique label/tag when creating agent and get this in flow from runtime/context, to map to VMs instance-name/IP after? I’m not sure that this is the best way of using Prefect, probably there might be another solution with it, that I just don’t see (due to the lack of experience with tool)
r

redsquare

05/04/2023, 6:57 PM
you could do that with kubernetes
i

Ivan Yakovlev

05/04/2023, 7:49 PM
thanks for suggestion, I’ll look also in this direction