k3s/pkg/agent/containerd
Flavio Castelli ba5fcf13fc
Wasm shims and runtimes detection
Create a generic helper function that finds extra containerd runtimes.
The code was originally inside of the nvidia container discovery file.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

Discover the containerd shims based on runwasi that are already
available on the node.

The runtimes could have been installed either by a package manager or by
the kwasm operator.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

The containerd configuration on a Linux system now handles the nvidia
and the WebAssembly runtimes.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

---------

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2023-11-13 14:43:41 -08:00
..
command.go
command_windows.go
config_linux.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
config_windows.go
containerd.go
nvidia.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
nvidia_test.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
runtimes.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
runtimes_test.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
runwasi.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
runwasi_test.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
selinux.go