compression: add support for the zstd algorithm#4809
compression: add support for the zstd algorithm#4809estesp merged 1 commit intocontainerd:masterfrom
Conversation
|
Hi @giuseppe. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Build succeeded.
|
|
does this depend on it being in an image spec release, to not be out of spec? opencontainers/image-spec#803 |
not sure it should block on a new release of the image specs and if there is any value in it (we should probably try to get a new tag, last release was 3 years ago 😞). It won't affect existing images and how they are handled. The only difference will be that a zstd layer will be decompressed instead of returning an error. The main reason for such PR is that I am experimenting with zstd (containers/image#1084) and I'd like to not break interoperability with Moby/containerd. |
|
Adding this to the 1.5 milestone, I think adding default support for I do have one question on this change though, where was +1 on not waiting for an image-spec since this is only relying on a common sense addition of |
|
+1 to support zstd without stream-processor |
7602812 to
279ba0c
Compare
I've added it only for completeness as it is was done for gzip. I agree it is not needed now, if we'll need it in future then we can add. Pushed a new version without the |
|
Build succeeded.
|
zstd is a compression algorithm that has a very fast decoder, while providing also good compression ratios. The fast decoder makes it suitable for container images, as decompressing the tarballs is a very expensive operation. opencontainers/image-spec#788 added support for zstd to the OCI image specs. Signed-off-by: Giuseppe Scrivano <[email protected]>
279ba0c to
30802fa
Compare
|
Build succeeded.
|
zstd is a compression algorithm that has a very fast decoder, while
providing also good compression ratios. The fast decoder makes it
suitable for container images, as decompressing the tarballs is a very
expensive operation.
opencontainers/image-spec#788 added support
for zstd to the OCI image specs.
Signed-off-by: Giuseppe Scrivano [email protected]