Skip to content
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

how can I access file system with k8s? #8880

Open
BhavinPrajapti opened this issue Jun 27, 2024 · 1 comment
Open

how can I access file system with k8s? #8880

BhavinPrajapti opened this issue Jun 27, 2024 · 1 comment

Comments

@BhavinPrajapti
Copy link

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?

@alexcrichton
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants