Skip to content

Conversation

@ktock
Copy link
Member

@ktock ktock commented Jun 2, 2021

This change enables stargz snapshotter to embedded by k3s.
The following changes are included:

  • Eliminate dependency to fusermount binary using go-fuse's DirectMount option
  • Eliminate dependencies to the following packages specific to containerd 1.5 (k3s uses containerd 1.4.4)
    • github.com/containerd/containerd/pkg/cri
    • github.com/containerd/containerd/snapshots/overlay/overlayutils
  • Support CRI-plugin-compatible registry configuration when builtin mode
    • plugins."io.containerd.snapshotter.v1.stargz".registry accepts the registry configuration same as plugins."io.containerd.snapshotter.v1.cri".registry.
    • This is only enabled for builtin plugin of stargz snapshotter. (github.com/containerd/stargz-snapshotter/service/plugin)
  • Add tests for k3s using k3d

Signed-off-by: Kohei Tokunaga <[email protected]>
@ktock ktock requested a review from AkihiroSuda June 2, 2021 04:10
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

LGTM, but how long will it take to update k3s to use containerd 1.5?

@ktock
Copy link
Member Author

ktock commented Jun 2, 2021

how long will it take to update k3s to use containerd 1.5?

I expect it to happen in k3s 1.22 (c.f. k3s-io/k3s#3381).

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