smartxworks / virtink

Lightweight Virtualization Add-on for Kubernetes
Apache License 2.0
492 stars 41 forks source link

Could we mount hostPath into the virtual machine? #48

Closed weixiao-huang closed 2 years ago

weixiao-huang commented 2 years ago

Since kata-containers use virtio-fs to mount hostPath into virtual machine, is there any method to mount hostPath into the VM?

fengye87 commented 2 years ago

That's an interesting feature. The general idea is to mount a host FS (hostPath or whatever FS mode volume) to the VM right? It mostly would depend on whether CH supports virtio-fs. We'll dig into this.