Skip to content

Latest commit

 

History

History

crun

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

crun extension

Installation

See Installing Extensions.

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