Skip to content

This Kubernetes Operators installs WebAssembly support on your Kubernetes Nodes

License

Notifications You must be signed in to change notification settings

trutx/kwasm-operator

This branch is 1 commit ahead of, 6 commits behind KWasm/kwasm-operator:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0be18e8 · May 24, 2024
May 20, 2024
Dec 21, 2023
Dec 3, 2023
May 24, 2024
Dec 9, 2023
Oct 19, 2022
Dec 21, 2023
Dec 3, 2023
Dec 21, 2023
Feb 12, 2024
Dec 21, 2023
Oct 1, 2022
Dec 3, 2023
Oct 19, 2022
Jan 11, 2023
Dec 21, 2023
May 23, 2024
May 23, 2024
Dec 4, 2023
Dec 21, 2023
Dec 21, 2023

Repository files navigation

kwasm-operator

This Kubernetes Operators uses KWasm/kwasm-node-installer to add WebAssembly support to your Kubernetes Nodes. It works with local and managed cloud K8s distributions based on Ubuntu/Debian with Containerd, including MiniKube, MicroK8s, AKS, GKE, and EKS.

Warning Only for development or evaluation purpose. Your nodes may get damaged!

Note If you are searching for a production ready WebAssembly integration for your Kubernetes cluster, reach out to Liquid Reply

Example

The KWasm Operator allows for fine-grained control over node provisioning instead of using the node installer with a DaemonSet. This example shows how to create a KinD cluster with three nodes and install the KWasm Operator. The example provisions a single node and schedules a Wasm pod on that specific node.

# Create cluster
kind create cluster --config examples/kind/cluster.yaml
# Add helm repo
helm repo add kwasm http://kwasm.sh/kwasm-operator/
# Install operator
helm install -n kwasm --create-namespace kwasm-operator kwasm/kwasm-operator
# Annotate single node
kubectl annotate node kind-worker2 kwasm.sh/kwasm-node=true
# Run example
kubectl apply -f examples/kind/runtimeclass.yaml
kubectl apply -f examples/kind/pod.yaml

Troubleshoot

Version v3.8.7 does not exist or is not available for darwin/arm64.

export KUSTOMIZE_VERSION=v4.5.7
make install run

About

This Kubernetes Operators installs WebAssembly support on your Kubernetes Nodes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 60.4%
  • Makefile 26.7%
  • Python 6.1%
  • Smarty 4.7%
  • Dockerfile 2.1%