overlay coreos: Drop obsolete subreaper key from containerd config

This key was first renamed to no_subreaper in 2017, then eventually
dropped. Now containerd prints a warning like:

time="2025-04-08T22:59:42Z" level=warning msg="Ignoring unknown key in
TOML" column=1 error="strict mode: fields in the document are missing
in the target struct" file=/usr/share/containerd/config.toml
key=subreaper row=8

There seem to be no replacement for it, so just drop it.
This commit is contained in:
Krzesimir Nowak 2025-04-10 16:00:35 +02:00
parent b3b9f07fb7
commit 361b247586
2 changed files with 0 additions and 4 deletions

View File

@ -4,8 +4,6 @@ version = 2
root = "/var/lib/containerd"
# runtime state information
state = "/run/containerd"
# set containerd as a subreaper on linux when it is not running as PID 1
subreaper = true
# set containerd's OOM score
oom_score = -999
disabled_plugins = []

View File

@ -4,8 +4,6 @@ version = 2
root = "/var/lib/containerd"
# runtime state information
state = "/run/containerd"
# set containerd as a subreaper on linux when it is not running as PID 1
subreaper = true
# set containerd's OOM score
oom_score = -999
disabled_plugins = []