https://prefect.io logo
m

Milly gupta

02/17/2021, 1:34 PM
Hi, I am looking to deploy Prefect agent either on Kubernetes or Service Fabric? Does anyone know what are the resource requirements for Prefect Agent?
j

josh

02/17/2021, 1:54 PM
Hi @Milly gupta the prefect agent on kubernetes uses a low amount of resources! The docs page on the kubernetes agent may provide some more relevant information / RBAC requirements / etc. https://docs.prefect.io/orchestration/agents/kubernetes.html
m

Milly gupta

02/17/2021, 1:55 PM
I looked at it and couldn't find any more details and on github it seems like using the default pod settings. https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/kubernetes/job_spec.yaml
j

josh

02/17/2021, 1:56 PM
I am unsure what you are asking. The agent uses few resources and the resources used by your flow can be defined in the flow’s KubernetesRun
m

Milly gupta

02/17/2021, 2:00 PM
Yeah that's fine but there must be some minimum resources required for running Prefect agent + flows on a container?
j

josh

02/17/2021, 2:01 PM
Currently the agent and flows do not make any assumption of base limits for running
m

Milly gupta

02/17/2021, 2:04 PM
Ah ok. Do you support deploying Prefect agent to Service Fabric?
j

josh

02/17/2021, 2:04 PM
Not at the time but if it is something you’d be interested in contributing we would be happy to assist you along the way 🙂
m

Milly gupta

02/17/2021, 2:05 PM
Ok thank you. I need to understand a little more how a Prefect agent is deployed? how it manages different flow runs. Can I find that information somewhere?
and how concurrent flows are run?
Is there a docker image available for Prefect agent?
j

josh

02/17/2021, 2:11 PM
The documentation on agents will give some information but otherwise I would recommend reading through the source. The official
prefecthq/prefect
docker image is used to run agents