but if you use e.g. Kubernetes or ECS agent, you can run it in-cluster as a service, so that the cluster manager can take care of monitoring the agent’s health
e
Emma Rizzi
01/13/2022, 3:36 PM
Thanks, is it valid for docker agents too ? I thought it applied only to local agents!
a
Anna Geller
01/13/2022, 3:38 PM
Absolutely! Supervisor accepts arbitrary commands, so instead of prefect agent local start, you might as well use “prefect agent docker start”