Skip to content

docs: fix outdated KinD quickstart example - #300

Merged
hydai merged 1 commit into
WasmEdge:mainfrom
ravindra-RKB:docs/fix-kind-quickstart
Jun 22, 2026
Merged

docs: fix outdated KinD quickstart example#300
hydai merged 1 commit into
WasmEdge:mainfrom
ravindra-RKB:docs/fix-kind-quickstart

Conversation

@ravindra-RKB

Copy link
Copy Markdown
Contributor

This PR updates the KinD quickstart documentation to use a working example configuration.

Background

Issue #1844 reported that the documented example fails with an Exec format error when following the KinD quickstart guide.

Changes
Replace wasmedge/example-wasi:latest
with hydai/wasm-wasi-example:with-wasm-annotation
Replace module.wasm.image/variant=compat-smart
with module.wasm.image/variant=compat
Update both occurrences in docs/develop/deploy/kubernetes/kind.md
Verification

The updated commands match the working configuration described in Issue #1844 and the upstream kind-crun-wasm example.

Type of Change

Documentation update

Related Issue

Fixes WasmEdge/WasmEdge#1844

Signed-off-by: Ravindra Kumar Bundela <ravindrarkb1205@gmail.com>
@ravindra-RKB
ravindra-RKB force-pushed the docs/fix-kind-quickstart branch from 0b8c954 to a73ce54 Compare June 11, 2026 17:22

@hydai hydai left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you run the example?

@ravindra-RKB

ravindra-RKB commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Hi @hydai,

Yes, I have successfully run and verified the example locally using the exact node image specified in the documentation (ghcr.io/liquid-reply/kind-crun-wasm:v1.23.0).

The original documented command reproduces the behavior reported in Issue #1844:

kubectl run -it --rm --restart=Never wasi-demo-fail --image=wasmedge/example-wasi:latest --annotations="module.wasm.image/variant=compat-smart" /wasi_example_main.wasm 50000000

{"msg":"exec container process `/wasi_example_main.wasm`: Exec format error","level":"error","time":"..."}
pod default/wasi-demo-fail terminated (Error)

The replacement command used in this PR executes successfully:

kubectl run -it --rm --restart=Never wasi-demo-success --image=hydai/wasm-wasi-example:with-wasm-annotation --annotations="module.wasm.image/variant=compat" /wasi_example_main.wasm 50000000

Random number: ...
Printed from wasi: This is from a main function
File content is This is in a file

This confirms that the documentation change in this PR addresses the behavior reported in Issue #1844.

@hydai
hydai merged commit ae18de7 into WasmEdge:main Jun 22, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

KinD quickstart documentation may be out of date

2 participants