Skip to content

Instantly share code, notes, and snippets.

@0xE282B0
Last active February 16, 2023 15:48
Show Gist options
  • Save 0xE282B0/ee923617645febae14f316d2d88ac7cd to your computer and use it in GitHub Desktop.
Save 0xE282B0/ee923617645febae14f316d2d88ac7cd to your computer and use it in GitHub Desktop.
Instructions to enable WebAssembly on Docker Desktop Kubernetes with KWasm

Wasm on Docker Desktop Kubernetes

WARNING: This could cause damage to the VM. WARNING: This could cause damage to the VM. You may need to factory reset Docker Desktop if something goes wrong.
  1. Open Docker Desktop and go to settings (see images)
    1. "Features in Development" Use containerd for pulling and storing images
    2. "Kubernetes" Enable Kubernetes
  2. Run the installer!
kubectl apply -f https://raw.githubusercontent.com/KWasm/kwasm-node-installer/docker-desktop/example/daemonset.yaml

During installation Docker Desktop will restart, the process takes max. 5 min.

Test the installation

kubectl apply -f https://raw.githubusercontent.com/KWasm/kwasm-node-installer/docker-desktop/example/test-spin.yaml
@0xE282B0
Copy link
Author

settings-k8s
settings-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment