Skip to content

Commit

Permalink
remove zfs snapshotter in containerd
Browse files Browse the repository at this point in the history
ZFS snapshotter is not used in containerd, as the snapshotting for ZFS
is done by the ZFS filesystem itself. This commit removes the ZFS
snapshotter from the containerd configuration.

Signed-off-by: Paul Gaiduk <[email protected]>
(cherry picked from commit e352fd2)
  • Loading branch information
europaul committed Nov 4, 2024
1 parent 4a6b0ca commit 1eb9a92
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/pillar/containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"github.com/lf-edge/edge-containers/pkg/resolver"
"github.com/lf-edge/eve/pkg/pillar/base"
"github.com/lf-edge/eve/pkg/pillar/types"
"github.com/lf-edge/eve/pkg/pillar/utils/persist"
"github.com/opencontainers/go-digest"
"github.com/opencontainers/image-spec/identity"
runtimespecs "github.com/opencontainers/runtime-spec/specs-go"
Expand Down Expand Up @@ -98,10 +97,6 @@ func GetServicesNamespace() string {

func init() {
logrus.Info("Containerd Init")
// see if we need to use zfs snapshotter based on what flavor of storage persist partition is
if persist.ReadPersistType() == types.PersistZFS {
defaultSnapshotter = types.ZFSSnapshotter
}

if base.IsHVTypeKube() {
defaultSnapshotter = "overlayfs"
Expand Down

0 comments on commit 1eb9a92

Please sign in to comment.