Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KWasm/kwasm-operator
This Kubernetes Operators installs WebAssembly support on your Kubernetes Nodes
https://github.com/KWasm/kwasm-operator
Last synced: 3 days ago
JSON representation
This Kubernetes Operators installs WebAssembly support on your Kubernetes Nodes
- Host: GitHub
- URL: https://github.com/KWasm/kwasm-operator
- Owner: KWasm
- License: apache-2.0
- Created: 2022-10-01T14:57:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T14:19:44.000Z (8 months ago)
- Last Synced: 2024-04-08T02:30:46.910Z (7 months ago)
- Language: Go
- Size: 321 KB
- Stars: 141
- Watchers: 5
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-webassembly - KWasm/kwasm-operator
README
# kwasm-operator
This Kubernetes Operators uses [KWasm/kwasm-node-installer](https://github.com/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](https://github.com/KWasm/kwasm-node-installer#supported-kubernetes-distributions).> **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](https://www.reply.com/liquid-reply/en/)## 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.```bash
# 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.`
```bash
export KUSTOMIZE_VERSION=v4.5.7
make install run
```