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

transport oci layouts instead of registry backends #72

Closed
joshrwolf opened this issue Nov 15, 2021 · 1 comment · Fixed by #87
Closed

transport oci layouts instead of registry backends #72

joshrwolf opened this issue Nov 15, 2021 · 1 comment · Fixed by #87
Labels
enhancement New feature or request size/L Denotes an issue/PR requiring a relatively large amount of work
Milestone

Comments

@joshrwolf
Copy link
Contributor

transporting content using the non-standard distribution backend provided a lot of convenience for serving, but it wastes the potential of the OCI Layout spec for all sorts of other things.

Evaluate transporting oci layouts instead, and then transferring into registry content at serve time or something similar

@joshrwolf joshrwolf added the enhancement New feature or request label Nov 15, 2021
@joshrwolf joshrwolf added this to the v0.3.0 milestone Nov 19, 2021
@joshrwolf joshrwolf added the size/L Denotes an issue/PR requiring a relatively large amount of work label Nov 19, 2021
@nikkelma
Copy link
Contributor

nikkelma commented Nov 19, 2021

This would be part of a much larger conversation around in-transit formats alongside of disk requirements at runtime.

The benefits of using the distribution backend for transit allowed an package taking up 100GB on disk (uncompressed) to only require 100GB of disk space in the air gap.

In contrast, an OCI layout taking up 75G of space (uncompressed) on disk representing a distribution backend that takes up 100GB of space when serving the OCI registry needs 175GB of peak disk space, since there will be a non-trivial time period where the full OCI layout and the full distribution backend will exist on disk together.

If prioritizing disk space requirements, using the same format in the compressed archives as what the hauler OCI server will use at runtime is required. I'm unsure what options there are that allow for transparent inspection of the archive along with direct serving of a distribution-powered OCI registry server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/L Denotes an issue/PR requiring a relatively large amount of work
Projects
Status: Resolved
Development

Successfully merging a pull request may close this issue.

2 participants