I am trying to setup k8s inside lxd here. But it seems I am running into issues. I get error while creating 1st container manually.
ctr: failed to create shim task: failed to mount rootfs component: invalid argument: unknown
dmesg -T shows below
filesystem on '/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/48/fs' not supported as upperdir
So looks like zfs backed lxd storage may not work. Is there anyway I coud make this work? Will using other driver like btrf etc will help? I have 2 unsed bloack disks on this host.
To get his k8s PODs (CRI containerd)
Basically he did - create a zfs dataset for mounting /var/lib/containerd/io.containerd.snapshotter.v1.zfs
and edit the config for containerd to include this.
I am wondering if I can use zfs commands with lxd storage? To -
to create this dataset
them somehow mount it inside the instances for spefic containerd snapashotter to work.