Hi, I am looking to deploy Prefect agent either on...
# prefect-community
m
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
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
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
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
Yeah that's fine but there must be some minimum resources required for running Prefect agent + flows on a container?
j
Currently the agent and flows do not make any assumption of base limits for running
m
Ah ok. Do you support deploying Prefect agent to Service Fabric?
j
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
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
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