majorosdonat commented on PR #45958: URL: https://github.com/apache/airflow/pull/45958#issuecomment-2635989996
> > Then the worker will go to maintenance pending if there are running jobs, and maintenance mode if all jobs have finished. > > The diagram suggest changing mode depends only on the count of jobs. Is there a way for cluster admin to force entering to mantanince mode? (Force kill all existed jobs)? This is no option directly, although it is visible that which jobs are executed by the worker, so they can be killed individually. Killing the jobs would contradict the reason why maintenance mode was created. In maintenance mode and maintenance pending the worker cannot consume jobs, so maintenance can be done on-site without the worker picking up jobs. If we didn't care about the running jobs, then it would be easier to just delete the worker, but it would cause lot of headaches for the customers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
