I have a use case where I would like to limit the number of parallel jobs 
running on a particular elastic agent profile in our kubernetes cluster to 
just one at a time.  If GoCD is currently executing a job with this elastic 
again profile I would want all pending jobs associated with the elastic 
agent to wait until the currently running agent finishes.  Is this current 
possible?  If so, its not immediately obvious how to do it.    I thought 
maybe using kubernetes ResourceQuota's might solve the problem. I hadn't 
tried that yet, but my guess is it wouldn't work causing the request to 
spin up the next against to fail rather than wait.

The use case I have is that the agent has a dependency on a fixed resource 
that can't be shared.

Thanks.



-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/25d30dc7-eac2-433b-8b82-b54e2f286e60%40googlegroups.com.

Reply via email to