Henrik Gerdes 26c505db8c
feat: add crun container-runtime extension
This adds the crun CRI implementation as an optional system extension

Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
Signed-off-by: Noel Georgi <git@frezbo.dev>
2024-08-02 19:42:13 +05:30

689 B

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