Stream: git-wasmtime

Topic: wasmtime / issue #8880 how can I access file system with ...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 27 2024 at 09:30):

BhavinPrajapti opened issue #8880:

I have installed wasmtime, wasmedge runtime in my k8s node.

for the normal hello-world application, I created OCI image as per below file.

FROM scratch
ADD hello-wasm.wasm /
CMD ["/hello-wasm.wasm"]

since wasmtime, wasmedge runtime is running on my node so this is working.
but how can i access file system? anyone have some reference tutorial or github link for this type of implementation?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 27 2024 at 12:36):

alexcrichton commented on issue #8880:

Thanks for the report, but this might be an issue best reported to the k8s integration with Wasmtime. Such integration is not maintained here. The wasmtime-CLI answer to your question is the --dir flag, but I don't know how such a flag integrates with the k8s pieces.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 17 2024 at 04:13):

bacongobbler commented on issue #8880:

More specifically, WasmEdge's github repository can be found here: https://github.com/WasmEdge/WasmEdge

view this post on Zulip Wasmtime GitHub notifications bot (Sep 07 2024 at 12:44):

tschneidereit closed issue #8880:

I have installed wasmtime, wasmedge runtime in my k8s node.

for the normal hello-world application, I created OCI image as per below file.

FROM scratch
ADD hello-wasm.wasm /
CMD ["/hello-wasm.wasm"]

since wasmtime, wasmedge runtime is running on my node so this is working.
but how can i access file system? anyone have some reference tutorial or github link for this type of implementation?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 07 2024 at 12:44):

tschneidereit commented on issue #8880:

I think the question has been answered as much as we can answer it here.


Last updated: Dec 23 2024 at 12:05 UTC