Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/second-state/wasmedge-containers-examples
https://github.com/second-state/wasmedge-containers-examples
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/second-state/wasmedge-containers-examples
- Owner: second-state
- License: apache-2.0
- Created: 2021-11-08T23:11:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T06:50:16.000Z (2 months ago)
- Last Synced: 2024-07-16T07:49:13.896Z (2 months ago)
- Language: Shell
- Size: 206 KB
- Stars: 70
- Watchers: 5
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Running lightweight WasmEdge apps side by side with Linux containers
The [crun project](https://github.com/containers/crun) now [supports WasmEdge](https://github.com/containers/crun/pull/774/commits/825108e0be3e8de55040f3690c4c2bc2ae7add0f) as a "container" runtime!
Since `crun` is widely supported across the Kubernetes ecosystem, [WasmEdge](https://github.com/WasmEdge/WasmEdge) applications can now run
everywhere Kubernetes runs!This repository contains scripts, tutorials, and GitHub Actions to demostrate
how WasmEdge applications work side by side with Linux containers.## Example: A simple WebAssembly app
* CRIO [Quick start](crio/README.md) | [Github Action](.github/workflows/crio.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4317457300?check_suite_focus=true#step:4:37) | [Video demo](https://youtu.be/BlLCcAH6Hqo)
* Containerd [Quick start](containerd/README.md) | [Github Action](.github/workflows/containerd.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4321868699?check_suite_focus=true#step:4:63)
* Kubernetes + CRI-O [Quick start](kubernetes_crio/README.md) | [Github Action](.github/workflows/kubernetes-crio.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4317457304?check_suite_focus=true#step:6:2999)
* Kubernetes + containerd [Quick start](kubernetes_containerd/README.md) | [Github Action](.github/workflows/kubernetes-containerd.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4577323888?check_suite_focus=true#step:6:3002)## Example: A HTTP microservice written in Rust and compiled into WebAssembly
* CRI-O [Quick start](crio/http_server/README.md) | [Github Action](.github/workflows/crio-server.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4317457313?check_suite_focus=true#step:4:54)
* Containerd [Quick start](containerd/http_server/README.md) | [Github Action](.github/workflows/containerd-server.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4328916842?check_suite_focus=true#step:4:86)
* Kubernetes + CRI-O [Quick start](kubernetes_crio/http_server/README.md) | [Github Action](.github/workflows/kubernetes-crio-server.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4577323886?check_suite_focus=true#step:6:3041)
* Kubernetes + containerd [Quick start](kubernetes_containerd/http_server/README.md) | [Github Action](.github/workflows/kubernetes-containerd-server.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/runs/4577323891?check_suite_focus=true#step:6:3013)
* Kubernetes + containerd + llama [Quick start](k8s_containerd_llama/README.md) | [Github Action](.github/workflows/kubernetes-containerd-llama-server.yml) | [Successful run](https://github.com/second-state/wasmedge-containers-examples/actions)