Assume I have a k8 cluster
A that is running an agent and running flows. I need to do a failover to a second cluster
B , such that all new flow runs get run on
B , while flows runs that are running on
A are allowed to gracefully complete.
Is there a way that I can redeploy agent
A such that it will continue to monitor currently running flow runs, while not starting any new flow runs? There is a
--limit flag when starting an agent that seems promising, but I would like to know if that or other options could be avialable.