Skip to content

Add docs and tests for Transfer Service #2084

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

Merged
merged 3 commits into from
Jul 16, 2025
Merged

Conversation

ktock
Copy link
Member

@ktock ktock commented Jul 15, 2025

Transfer Service is enabled in CRI by default since containerd v2.1. However, when the CRI plugin finds disable_snapshot_annotations = false in containerd's config.toml, it doesn't enable Transfer Service and falls back to the traditional client-library-based pulling. (c.f. docs). So if user preserve disable_snapshot_annotations = false in the config, the user can expect the traditional (non-Transfer-Service) behaviour without breaking lazy pulling behaviour.

If the user wants to enable Transfer Service, additional configuration is needed and this commit adds a doc about it.

Tests are also added for continuously checking if stargz snapshotter works with enabling Transfer Service.

@ktock ktock force-pushed the transferservice branch from 85131c5 to a241fe4 Compare July 15, 2025 11:47
@ktock ktock marked this pull request as ready for review July 15, 2025 13:26
@ktock ktock added this to the v0.17 milestone Jul 16, 2025
docs/transfer.md Outdated

To use Stargz Snapshotter on containerd with enabling Transfer Service, additional configurations is needed.

## When is Transfer Service enabled?
Copy link
Member

Choose a reason for hiding this comment

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

"When" sounds awkward here

Suggested change
## When is Transfer Service enabled?
## Availability of Transfer Service

Anyway you can assume that the service is always available as containerd v1.6 will reach EOL soon

@ktock ktock force-pushed the transferservice branch from a241fe4 to b405072 Compare July 16, 2025 04:24
@ktock ktock merged commit fd445ac into containerd:main Jul 16, 2025
36 checks passed
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.

2 participants