Is there a way to take a worker offline gracefully?
Hi there, Is there a way to make a worker stop getting new jobs, but don't kill running jobs, wait for them to finish gracefully? Regards, Kai
On Freitag, 13. Mai 2022, 15:35:26 CEST Kai Liu wrote:
Hi there,
Is there a way to make a worker stop getting new jobs, but don't kill running jobs, wait for them to finish gracefully?
touch /srv/obs/worker/disable/$hostname -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
On 2022/05/13 Fri 15:37, Adrian Schröter wrote:
On Freitag, 13. Mai 2022, 15:35:26 CEST Kai Liu wrote:
Hi there,
Is there a way to make a worker stop getting new jobs, but don't kill running jobs, wait for them to finish gracefully?
touch /srv/obs/worker/disable/$hostname
Thanks! This works nicely. Regards, Kai
participants (2)
-
Adrian Schröter
-
Kai Liu