Skip to content

Commit 677bd72

Browse files
committed
Fix containerd options
Some bug in 2.1.x
1 parent 9a67ebc commit 677bd72

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

modules/containerd-kubelet.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,20 @@ in
3737
};
3838
};
3939
cni.bin_dir = "/opt/cni/bin";
40-
sandbox_image = "registry.k8s.io/pause:3.9";
40+
sandbox_image = "registry.k8s.io/pause:3.10";
41+
};
42+
"io.containerd.transfer.v1.local" = {
43+
unpack_config = [{
44+
platform = "linux/amd64";
45+
snapshotter = "zfs";
46+
}];
4147
};
4248
};
49+
4350
};
4451
};
52+
53+
4554
## TODO: environment.etc."cni/net.d/10-containerd-bridge.conf".source = copyFile "${pkgs.containerd-unwrapped.src}/contrib/cni/10-containerd-bridge.conf";
4655
## TODO: environment.etc."cni/net.d/99-loopback.conf".source = copyFile "${pkgs.containerd-unwrapped.src}/contrib/cni/99-loopback.conf";
4756

0 commit comments

Comments
 (0)