You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2021. It is now read-only.
As of now all volumes are created on the host and passed to VM via 9pfs. But k8s allows you to create ephemeral volumes Also, these volumes can be backed by a ramdisk. Ephemeral volumes, as the name indicates, live and die with the pod. There is no reason to use 9pfs for this type of volume.
Kata needs to support these volumes by creating tempfs based volume inside of the VM.
The possible approach that I can think of,
Detect if the volume getting attached is backed by a ramdisk (temfs)
When VM boots, instruct init to create tempfs inside of VM
Use the ramdisk created inside VM in step 2 with the containers of the pod.