dstandish edited a comment on issue #13591:
URL: https://github.com/apache/airflow/issues/13591#issuecomment-757444101
### What _does_ work:
I verified, at least with 2.0 that warm shutdown **_works_** with the
following change for worker deployment:
```yaml
command: ["airflow"]
args: ["celery", "worker"]
```
### More things that don't work
Before arriving at the above, I tried this (didn't work):
```yaml
command: ["/usr/bin/dumb-init", "--", "airflow"]
args: ["celery", "worker"]
```
This also didn't work:
```yaml
command: ["/usr/bin/dumb-init"]
args: ["airflow", "celery", "worker"]
```
Produced more of these errors:
```
[2021-01-10 09:36:09,037: ERROR/MainProcess] Task handler raised error:
WorkerLostError('Worker exited prematurely: signal 15 (SIGTERM).')
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]