-
Notifications
You must be signed in to change notification settings - Fork 55
support PMEM inside Kata Containers #303
Comments
To reproduce the problem inside our QEMU virtual cluster, nested virtualization is needed. We also need changes to install and use Kata Containers. I have all of that in a branch: |
Kernel 5.3.1 has been equipped with ClearLinux version 31090, and I've seen that VIRTIO_PMEM is there. Can we expect to see PMEM-CSI on Kata soon? |
My next step will be to try out Kata with virtiofs support, which will be released shortly. This might support volume-passthrough with fsdax. |
kata-containers >= 1.9.0 has support for virtiofs builtin (https://github.com/kata-containers/documentation/blob/master/how-to/how-to-use-virtio-fs-with-kata.md) when using the
However, virtio-fs turned out to be not suitable for PMEM:
I have engaged with the Kata Container folks here: kata-containers/runtime#2262 |
Functional PoC in #500, now we need the corresponding changes in Kata Containers. |
Kata Containers will have support in 1.11.0 (currently available as -rc0). PR #500 contains an E2E tst with Kata Containers, but it's still WIP and doesn't pass. One problem is that by default, Kata Containers only allows VMs to have as much memory as the host has DRAM. If the host than wants to add a much larger PMEM volume, Kata Containers fails with something like:
One solution is to edit Alternatively, that limit can be raised individually for each pod: |
Should work now in "devel" (PR #500), but not tested in CI. Need to test once manually, then close this issue. |
Manual testing found a regression which then was fixed. Works now. |
Applications running inside Kata Containers cannot use PMEM in App Direct mode because they don't get access to the original filesystem.
One idea for addressing this is to:
Details to be decided, and mostly has to be handled in Kata Containers...
The text was updated successfully, but these errors were encountered: