Newskooler

    Newskooler

    1 year ago
    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
    Dylan

    Dylan

    1 year ago
    No specific reason! I think we found suporvisord and liked it
    Newskooler

    Newskooler

    1 year ago
    Thanks, @Dylan
    Dylan

    Dylan

    1 year ago
    You bet!
    Pedro Machado

    Pedro Machado

    1 year ago
    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?
    Dylan

    Dylan

    1 year ago
    @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.
    Pedro Machado

    Pedro Machado

    1 year ago
    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!