talos-extensions/container-runtime/crun
Dmitry Sharshakov 5cd226e3ea
chore: build with new toolchain
Move modules, firmware and libraries to accommodate usrmerged rootfs

Only use network where needed via new bldr, pre-download Go dependencies in prepare step, improve Go cache

Bump xen-guest-agent to make it build with current Alpine Rust

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
2025-02-10 16:00:19 +01:00
..
10-crun.part fix: unable to override runtime defaults 2025-01-10 19:10:22 +05:30
manifest.yaml feat: add crun container-runtime extension 2024-08-02 19:42:13 +05:30
pkg.yaml chore: build with new toolchain 2025-02-10 16:00:19 +01:00
README.md feat: add crun container-runtime extension 2024-08-02 19:42:13 +05:30
vars.yaml feat: add crun container-runtime extension 2024-08-02 19:42:13 +05:30

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