mirror of
https://github.com/siderolabs/extensions.git
synced 2025-08-06 14:27:31 +02:00
|
||
---|---|---|
.. | ||
10-crun.part | ||
manifest.yaml | ||
pkg.yaml | ||
README.md | ||
vars.yaml |
crun extension
Installation
Usage
In order to create the Wasm workload, a runtimeclass needs to be created.
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: crun
handler: crun
Testing
Apply the following manifest to run nginx pod via crun:
---
apiVersion: v1
kind: Pod
metadata:
name: nginx-crun
spec:
runtimeClassName: crun
containers:
- name: nginx
image: nginx
The pod should be up and running:
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-crun 1/1 Running 0 40s