Skip to content

Conversation

@ctrox
Copy link
Owner

@ctrox ctrox commented Aug 10, 2025

This is a very basic implementation of migrating the containers ephemeral storage during migration. It only supports the overlay snapshotter. It simply finds the upper layer by looking at /proc/*/mounts and then renames all paths in the upper layer into the snapshot directory before evac. On restore we do the reverse. This works okay for a first iteration but there may be many edge-cases and potential performance improvements. Especially the image pulling over TTRPC could be improved.

this is a very basic implementation of migrating the containers
ephemeral storage during migration. It only supports the overlay
snapshotter. It simply finds the upper layer by looking at
/proc/*/mounts and then renames all paths in the upper layer into
the snapshot directory before evac. On restore we do the reverse.
This works okay for a first iteration but there may be many
edge-cases and potential performance improvements. Especially the
image pulling over TTRPC could be improved.
@ctrox ctrox merged commit 0288889 into main Aug 10, 2025
8 checks passed
@ctrox ctrox deleted the migrate-copy-upper branch August 10, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants