Is your feature request related to a problem? Please describe.
Kubernetes EmptyDirs are sometimes used as a way to share data from the host to a guest. The work done in #1485 drastically improved performance for most use-cases, but broke host->guest sharing of files.
Describe the solution you'd like
A flag in the configuration that disables guest-created EmptyDirs, allowing users to fall back to slower, host-created ones.
Describe alternatives you've considered
Unfortunately, there aren't really any other good solutions to the problem my org is using EmptyDir to solve. There are multi-tenancy issues with host volumes, and our use-case relies on linking container logs on the host to a logging container in a pod.
Additional context
I've already implemented this and my org is running a fork with a disable_guest_empty_dir flag, but I'd like to gauge upstream's interest in this. It's a very small changeset (+42 -11) and would allow folks to use EmptyDir with Kata in this way again.
Before raising this feature request
Have you looked at the limitations document?
Yes.
Is your feature request related to a problem? Please describe.
Kubernetes
EmptyDirs are sometimes used as a way to share data from the host to a guest. The work done in #1485 drastically improved performance for most use-cases, but broke host->guest sharing of files.Describe the solution you'd like
A flag in the configuration that disables guest-created
EmptyDirs, allowing users to fall back to slower, host-created ones.Describe alternatives you've considered
Unfortunately, there aren't really any other good solutions to the problem my org is using
EmptyDirto solve. There are multi-tenancy issues with host volumes, and our use-case relies on linking container logs on the host to a logging container in a pod.Additional context
I've already implemented this and my org is running a fork with a
disable_guest_empty_dirflag, but I'd like to gauge upstream's interest in this. It's a very small changeset (+42 -11) and would allow folks to useEmptyDirwith Kata in this way again.Before raising this feature request
Have you looked at the limitations document?
Yes.