Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: add root mounts to task info #1212

Closed
wants to merge 1 commit into from

Conversation

dmcgowan
Copy link
Member

Add root mounts to task info and allow using root mounts on new task when specified.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
@codecov-io
Copy link

Codecov Report

Merging #1212 into master will decrease coverage by 0.07%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1212      +/-   ##
==========================================
- Coverage   28.09%   28.01%   -0.08%     
==========================================
  Files          28       28              
  Lines        2833     2841       +8     
==========================================
  Hits          796      796              
- Misses       1888     1896       +8     
  Partials      149      149
Impacted Files Coverage Δ
task.go 0% <ø> (ø) ⬆️
container.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 805654a...8da1fc4. Read the comment docs.

@@ -55,6 +56,7 @@ type CheckpointTaskOpts func(*CheckpointTaskInfo) error

type TaskInfo struct {
Checkpoint *types.Descriptor
RootMounts []mount.Mount
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we rename CreateTaskRequest.RootFS to RootFSMounts?

@AkihiroSuda How does this fit with the rootfs specification?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just call it RootFS like we do an other places?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There might be some other changes that make that confusing. Especially since we've moved away from being mostly mount oriented.

@stevvooe
Copy link
Member

@dmcgowan While I think this PR is good for alpha1, let's hold off and figure out the naming here.

@tonistiigi
Copy link
Member

LGTM

@dmcgowan
Copy link
Member Author

Closing in favor of #1249

@dmcgowan dmcgowan closed this Jul 25, 2017
ianlewis pushed a commit to ianlewis/containerd that referenced this pull request Dec 8, 2020
…ons-bandwith-error

Return actual error when fetching the bandwidth info from annotation fails
@dmcgowan dmcgowan deleted the task-root-mounts branch March 23, 2022 22:21
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.

5 participants