Josh Paulin
03/30/2023, 1:47 PM--limit=0
• Start the agent with no --work-queue
parameter
My use case is doing a live failover between two k8 clusters (A and B), where I’d want all new workloads being sent to cluster B, while still allowing active workloads on A to tapper off.Sahil Rangwala
03/30/2023, 4:45 PMJosh Paulin
03/30/2023, 4:49 PMA
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.
If #2 wouldn’t work (tbh I wasn’t expecting it to), and I able to restart the agent on A
with a --limit=0
so that it will gracefully draw down any active flows on the cluster