# ANN: cvmfs containerd remote snapshotter

**URL:** <https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65>\
**Category:** Image Distribution\
**Created:** [July 14, 2020, 2:40pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65 "2020-07-14T14:40:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![smosciat](https://wlcg-discourse.web.cern.ch/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@smosciat](https://wlcg-discourse.web.cern.ch/u/smosciat)\
**Post date:** [July 14, 2020, 2:40pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/1 "2020-07-14T14:40:32Z")

</div>

Hello all,

This morning I completed some tests and the remote containerd snapshotter seems to work fine and it allow to run a simple image.

To recap: this will allow to run docker images in k8s without doing any pulling but getting the filesystem of the images directly from cvmfs.  
Of course the filesystem of the image must be ingested in cvmfs, and it must follow the structure of `unpacked.cern.ch`.

This is definitely a preliminary release and all the feedback is greatly appreciated.

It is possible to download the binary from github: [https://github.com/cvmfs/containerd-remote-snapshotter/releases/tag/v0.0.1](https://github.com/cvmfs/containerd-remote-snapshotter/releases/tag/v0.0.1)

Also it is available on cvmfs: `/cvmfs/unpacked.cern.ch/util/bin/cvmfs-snapshotter`

---

<div class="post-metadata">

**Author:** ![aforti](https://wlcg-discourse.web.cern.ch/user_avatar/wlcg-discourse.web.cern.ch/aforti/32/16_2.png) [@aforti](https://wlcg-discourse.web.cern.ch/u/aforti)\
**Post date:** [July 21, 2020, 2:27pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/2 "2020-07-21T14:27:39Z")

</div>

Hi Simone,

this is interesting, I don’t have a large cluster to test it. Perhaps @rptaylor who wanted to move his cluster to containerd or @lbryant in UChicago can give it a go.

cheers  
alessandra

---

<div class="post-metadata">

**Author:** ![aforti](https://wlcg-discourse.web.cern.ch/user_avatar/wlcg-discourse.web.cern.ch/aforti/32/16_2.png) [@aforti](https://wlcg-discourse.web.cern.ch/u/aforti)\
**Post date:** [July 21, 2020, 2:28pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/3 "2020-07-21T14:28:27Z")

</div>

of course @rbritoda too.

---

<div class="post-metadata">

**Author:** ![rptaylor](https://wlcg-discourse.web.cern.ch/letter_avatar_proxy/v4/letter/r/49beb7/32.png) [@rptaylor](https://wlcg-discourse.web.cern.ch/u/rptaylor)\
**Post date:** [January 27, 2021, 11:43pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/4 "2021-01-27T23:43:48Z")

</div>

Even now, quite a few months later, the latest version of Kubespray deploys containerd v1.3.9.  
Not sure if I am interpreting the release notes for v.1.4.0 correctly:

> **[Release containerd 1.4.0 · containerd/containerd](https://github.com/containerd/containerd/releases/tag/v1.4.0)**
>
> s/tag/v1.4.0

Looks like it may have a dependence related to k8s API v1.19 , but our dev cluster is 1.19 so that’s okay, I should be able to start experimenting.

I see the containerd 1.5.0 beta is available, with several changes related to snapshotters:

> **[Release containerd 1.5.0-beta.0 · containerd/containerd](https://github.com/containerd/containerd/releases/tag/v1.5.0-beta.0)**
>
> 1.5.0-beta.0

Using the cvmfs remote snapshotter will require some new config so I will start working on integrating that into Kubespray( `[plugins."io.containerd.grpc.v1.cri".containerd]` and `[proxy_plugins]`).  
@smosciat Do you know if the config syntax for setting up the containerd remote snapshotter is stable, or is expected to change?

---

<div class="post-metadata">

**Author:** ![smosciat](https://wlcg-discourse.web.cern.ch/letter_avatar_proxy/v4/letter/s/cdc98d/32.png) [@smosciat](https://wlcg-discourse.web.cern.ch/u/smosciat)\
**Post date:** [January 28, 2021, 8:39am UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/5 "2021-01-28T08:39:58Z")

</div>

Hi Ryan,

I believe that the general framework will stay in place, but I cannot guarantee that there won’t be any changes. I believe we can expect minor changes in the medium term horizon.

Stuff like change a setting values.

For instance, just yesterday we found a change in the minor containerd releases:

> <https://github.com/cvmfs/containerd-remote-snapshotter/pull/2>

---

<div class="post-metadata">

**Author:** ![rbritoda](https://wlcg-discourse.web.cern.ch/letter_avatar_proxy/v4/letter/r/eada6e/32.png) [@rbritoda](https://wlcg-discourse.web.cern.ch/u/rbritoda)\
**Post date:** [January 28, 2021, 10:45pm UTC](https://wlcg-discourse.web.cern.ch/t/ann-cvmfs-containerd-remote-snapshotter/65/6 "2021-01-28T22:45:27Z")

</div>

GKE also offers older versions of containerd - 1.3.x for COS\_containerd and 1.2.x for UBUNTU\_containerd. Doing some tests with kubernetes 1.17.x at the time on GKE i wrote something on brute force upgrading the clusters containerd to 1.4.x:

> **[Custom Containerd Versions in GKE Clusters](https://ricardorocha.io/blog/gke-custom-containerd/)**
>
> Upgrade containerd on a GKE cluster

It does work 🙂 , there is no dependency on 1.19.x.

At CERN clusters \>=1.19 are being deployed with containerd 1.4.x.
