-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the ability to checkpoint & restore containers using [Cedana](https://docs.cedana.ai/). This PR includes a few changes: 1. Add an experimental struct that allows us to toggle optional flags on a per-stub basis 2. Adds cedana libraries and client to worker 3. Integrates optional checkpoint and restore into the container lifecycle 4. Stores and manages cedana checkpoint state **TODO:** - [x] Fix restored container logs - [x] Fix local restore state storage - [x] Move checkpoint storage from juicefs to mountpoint checkpoint volume - [x] Attach to restored container so lifecycle is managed properly - [x] Update env pre-restore to update container ID with the new container ID --------- Co-authored-by: Yash Anand <[email protected]> Co-authored-by: nickpetrovic <[email protected]>
- Loading branch information
1 parent
b114dc6
commit fb0c61d
Showing
35 changed files
with
1,917 additions
and
899 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,8 @@ venv | |
test | ||
manifests | ||
tmp | ||
|
||
|
||
deploy | ||
bin/worker | ||
bin/gateway |
Empty file.
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.