-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oci loader related problems with spinkube #2532
Comments
Not exactly. The files are copied to create the directory structure to be mounted into the guest app. OCI layers start out as just content hashes with no paths; the loader correlates the hashes and paths to reconstruct the correct file tree. There are alternatives to copying files such as using hard links. Hard links come with their own complexity and caveats, one of which is that they wouldn't work with |
The copying is needed because we use |
Relatively high. We'd essentially need to fork/recreate a significant chunk of wasmtime-wasi. |
During oci_loader, we copy the files to an assets directory.
This works fine with
spin up
but with SpinKube, this behavior has triggered a few issues such as spinframework/containerd-shim-spin#40, spinframework/containerd-shim-spin#108 and spinframework/containerd-shim-spin#123I talked briefly to @lann and it seems this was done to support the
--allow-transient
flag inspin up
.is there any workaround that we can apply for this? (or maybe copy files over only if
--allow-transient
flag is set)cc @vdice @radu-matei
The text was updated successfully, but these errors were encountered: