https://prefect.io logo
n

Newskooler

10/02/2020, 8:19 AM
Hi 👋 , Why is it suggested in the docs to keep an agent (and I guess a server) running via supervisord instead with systemd? Does anyone know?:) https://docs.prefect.io/orchestration/tutorial/multiple.html#install-a-supervised-agent
d

Dylan

10/02/2020, 2:21 PM
No specific reason! I think we found suporvisord and liked it
👍 1
n

Newskooler

10/02/2020, 2:35 PM
Thanks, @Dylan
d

Dylan

10/02/2020, 2:36 PM
You bet!
p

Pedro Machado

10/02/2020, 10:08 PM
When running a docker agent, do you also recommend using
suvervisord
or is there a docker native way of running the agent so that it will restart if it crashes?
d

Dylan

10/02/2020, 10:31 PM
@Pedro Machado the docker agent is I believe also just a process. Instead of running a flow from a file, it pulls a docker container from a registry and calls
run
on that container. If you were to install a docker agent on a vm, I would recommend using the instructions above
However, if you’re already there, I would recommend checking out Kubernetes or Fargate for running production Flows.
p

Pedro Machado

10/02/2020, 10:34 PM
Thanks, Dylan. In this particular case, we have little infrastructure support so we are going the Docker agent route running on a VM. At some point, I'd like to explore one of the other options. Thanks again!