Skip to content

Commit

Permalink
Additional container metadata from containerd
Browse files Browse the repository at this point in the history
containerd structures the internal metadata differently. For a restore
the status.dump file is also necessary.

The status.dump file contains the content of:

  crictl inspect <CTR-ID> | jq ".status"

and the information is needed during restore to get container
annotations and metadata. CRI-O in contrast has this data available
as metadata in config.dump. As containerd has this information somewhere
else it needs to be saved during checkpointing for a successful restore.

Signed-off-by: Adrian Reber <[email protected]>
  • Loading branch information
adrianreber committed Jun 17, 2024
1 parent 46361c3 commit 29b1087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const (
// container archive
ConfigDumpFile = "config.dump"
SpecDumpFile = "spec.dump"
StatusDumpFile = "status.dump"
NetworkStatusFile = "network.status"
CheckpointDirectory = "checkpoint"
CheckpointVolumesDirectory = "volumes"
Expand Down

0 comments on commit 29b1087

Please sign in to comment.