k3s/pkg/agent/containerd
Brad Davidson 67291090ca Add support for conditional image tarball imports
Normally K3s will import all tarballs in the image dir on startup, and
re-import any tarballs that change while it is running.

This change allows users to opt into only importing tarballs that have
changed since they were last imported, even across restarts.

This behavior is opted into by touching a `.cache.json` file in the
images dir. This file is used to track the size and mtime of the image
files when they are imported.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-05-07 15:06:14 -07:00
..
command.go
command_windows.go
config.go Update containerd config schema to version 3 2025-02-07 12:03:48 -08:00
config_linux.go Avoid use of github.com/pkg/errors functions that capture stack 2025-03-05 00:41:38 -08:00
config_test.go Update containerd config schema to version 3 2025-02-07 12:03:48 -08:00
config_windows.go Avoid use of github.com/pkg/errors functions that capture stack 2025-03-05 00:41:38 -08:00
containerd.go Add support for conditional image tarball imports 2025-05-07 15:06:14 -07:00
runtimes.go
runtimes_test.go
selinux.go
watcher.go Add support for conditional image tarball imports 2025-05-07 15:06:14 -07:00