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 Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
command_windows.go fix formatting 2020-02-23 00:48:26 -08:00
config_linux.go Wasm shims and runtimes detection 2023-11-13 14:43:41 -08:00
config_windows.go Wait for cri-dockerd socket (#6812) 2023-01-27 13:16:59 -08:00
containerd.go Fix error reporting 2023-08-31 17:20:14 +02:00
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 Simplify SELinux detection and add --disable-selinux flag 2020-02-28 10:10:55 -07:00