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

Provide settings to change containerd's persistent storage #1617

Closed
arnaldo2792 opened this issue Jun 16, 2021 · 1 comment
Closed

Provide settings to change containerd's persistent storage #1617

arnaldo2792 opened this issue Jun 16, 2021 · 1 comment
Assignees
Labels
area/core Issues core to the OS (variant independent) status/research This issue is being researched type/enhancement New feature or request
Milestone

Comments

@arnaldo2792
Copy link
Contributor

What I'd like:

Originally posted in #1209

I'd also like to be able to use this storage (ephemeral disks) for the images pulled by the container runtime.

Containerd will store container images in the persistent data storage which is setup with the Root property in /etc/containerd/config.toml. We need to provide a mechanism to allow users to use ephemeral disks as containerd's persistent data storage.

Any alternatives you've considered:
With #1601, users can set up and mount the ephemeral disks attached to the host. However, they can't mount the disks directly to where Root points (/var/lib/containerd) since mounts will only propagate on /mnt in the host. Another problem is that any new mounted filesystem will be labeled with unlabeled_t rather than with local_t, so we need to figure out what's the best way to handle the initial relabel in those filesystems

@jhaynes jhaynes added this to the next milestone Jun 25, 2021
@jhaynes jhaynes added area/core Issues core to the OS (variant independent) priority/p1 type/enhancement New feature or request labels Jun 25, 2021
@jhaynes jhaynes modified the milestones: next, next+1 Jul 29, 2021
@bcressey bcressey added status/research This issue is being researched and removed status/notstarted labels Aug 13, 2021
@jhaynes jhaynes linked a pull request Sep 2, 2021 that will close this issue
@jhaynes jhaynes removed a link to a pull request Sep 2, 2021
@kdaula kdaula modified the milestones: next, 1.7.0 Feb 4, 2022
@kdaula kdaula added this to v1.7.0 Feb 16, 2022
@arnaldo2792
Copy link
Contributor Author

It is possible to set up ephemeral disks as the storage for container images, as described in #1991

@arnaldo2792 arnaldo2792 moved this to Done in v1.7.0 Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues core to the OS (variant independent) status/research This issue is being researched type/enhancement New feature or request
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants