There is currently an issue surrounding using MicroK8s on a ZFS filesystem due
to the way containerd is configured. If you have installed MicroK8s on ZFS
you can fix this:
Configure containerd to use ZFS:
Edit the file /var/snap/microk8s/current/args/containerd-template.toml
replacing snapshotter = "overlayfs" with snapshotter = "zfs"
When I followed your footsteps, I actually replaced “${SNAPSHOTTER}” with “zfs”. That made me feel a bit uneasy, because I couldn’t for the life of me find the place where that variable is defined and I wonder who else might be using its definition or expect that it’s honored.
Thanks @mutech. I believe it comes from the zfs extension for containerd - the source is on github
Oh, i think you mean why your config includes ${SNAPSHOTTER}? I expect it is a change in the defaults for containerd - I will look into it and hopefully provide some more reassuring guidance. Thanks for taking the time to comment.