You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create the container with the same configuration as before
start the newly created container
Because of the changes in #1926 if the supervisor gets stopped between steps 1 and 2, on restart, the service won't get restarted by the supervisor when applying the target state, and it won't be started by the engine since a stop request already took place
This might be solved by combining steps 1 and 2 by doing a remove with force: true when killing a container
The text was updated successfully, but these errors were encountered:
When uninstalling a container for a restart from the API on when
moving between releases, this prefers to force remove the container
rather than stop then remove. This has the same effect in the end, but
force remove is an atomic call, meaning if the supervisor is killed
between the stop and remove, the engine will proceed with the operation
and the supervisor will know to recover from the target state after the
restart.
Change-type: patch
Relates-to: #2257
A service restart via the supervisor API endpoints
performs the following actions
Because of the changes in #1926 if the supervisor gets stopped between steps 1 and 2, on restart, the service won't get restarted by the supervisor when applying the target state, and it won't be started by the engine since a
stop
request already took placeThis might be solved by combining steps 1 and 2 by doing a remove with
force: true
when killing a containerThe text was updated successfully, but these errors were encountered: