Repository navigation
daemon: Catch SIGTERM and ignore it if we're doing an update - #477
Conversation
|
Tested this lightly locally as far as verifying we caught |
|
Though a better way to do this is to install the |
3c246e2 to
b899743
Compare
|
I reworked this entirely per #477 (comment) But only compile tested. |
Ref: openshift#407 The MCD is not ready to be killed at any arbitrary point. Bump the termination timeout to 5 minutes, and ignore `SIGTERM` if we're in the middle of performing an update.
b899743 to
d09b57d
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, rphillips The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
daemon: Catch SIGTERM and ignore it if we're doing an update
Ref: #407
The MCD is not ready to be killed at any arbitrary point. Bump
the termination timeout to 5 minutes, and ignore
SIGTERMif we'rein the middle of performing an update.