Hi! Do you have any information on the best practi...
# ask-community
e
Hi! Do you have any information on the best practice to manage agents? For now, I've been launching them manually on my VMs with commands like
prefect agent docker start ... &
and killing manually with linux signals Is there a recommended method to do this ?
a
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
Thanks, is it valid for docker agents too ? I thought it applied only to local agents!
a
Absolutely! Supervisor accepts arbitrary commands, so instead of prefect agent local start, you might as well use “prefect agent docker start”
e
Great! thanks a lot I'll try this!