containerd/internal
Wei Fu 018d83650f internal/cri: should not apply IoOwner options
When kubelet enables UserNamespaceSupport feature gate, kubelet always
uses non-empty UsernsOptions to setup pods. In this case, the gVisor shim is
unable to parse runc.Option so that it will be unable to start container.

This change is to avoid adding IoOwner options if the UsernsOptions is
for node level. Since gVisor hasn't feature subcommand yet, CRI status
will report that gVisor runtime doesn't support user namespace. So it's
kind of workaround to avoid compatible issue.

REF: #11091

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-12-12 14:49:29 +00:00
..
cleanup ignore the static check when using anonymous struct in testing 2024-08-14 14:50:39 +05:30
cri internal/cri: should not apply IoOwner options 2024-12-12 14:49:29 +00:00
eventq Add support for multiple subscribers to CRI container events 2024-01-19 21:27:06 -08:00
failpoint Move pkg/failpoint to internal/failpoint 2024-01-17 09:56:43 -08:00
fsverity Merge pull request #10978 from austinvazquez/cherry-pick-pr-10972-to-2.0 2024-11-19 10:43:47 -08:00
kmutex Move pkg/randutil to internal/randutil 2024-01-17 09:57:10 -08:00
nri Avoid potential reallocs by pre-sizing some slices 2024-07-19 13:05:49 -07:00
pprof shim: Move pprof server to plugin 2024-10-03 00:12:50 +00:00
randutil Move pkg/randutil to internal/randutil 2024-01-17 09:57:10 -08:00
registrar Move pkg/registrar to internal/registrar 2024-01-17 09:57:19 -08:00
tomlext Move pkg/tomlext to internal/tomlext 2024-01-17 09:57:37 -08:00
truncindex Move pkg/truncindex to internal/truncindex 2024-01-17 09:57:46 -08:00
userns update ctr run to support multiple uid/gid mappings 2024-09-10 17:06:27 +00:00