-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sandbox: Optimize sandbox lifecycle management
1. Add many roll back handlers in the process of starting sandbox. 2. Move setup network to Start sandbox as it should be called near the vm startup. 3. Only monit running sandbox and dump it status in time. 4. Sandbox stop should make sure the sandbox is stopped successfully, so wait it to stop for 10s. 5. If the VM process terminated suddenly and the containerd has no idea to stop sandbox, destroy network should be done in monit thread. 6. Forcefully kill vmm process in stopping sandbox. Signed-off-by: Zhang Tianyang <[email protected]>
- Loading branch information
1 parent
2b34a6e
commit b285b07
Showing
3 changed files
with
224 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.