The easiest way is using t Proxmox installer which has ZFS as a filesystem. Underneath it is a Debian 10 installation.
Last time I tried you could not enable ZFS encryption. I don’t know what is the case with Openzfs 2.0
Do we have encryption,yet?
Do we have encryption,yet?
I think Canonical planing is to have ZFS as an experimental option only for Desktop version of Ubuntu until next LTS release.