containerd/internal/cri
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
..
annotations cri: add pause image name to annotations 2024-04-09 22:33:58 +08:00
bandwidth Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
config CRI: remove disable_cgroup 2024-08-15 06:08:30 +09:00
constants Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
instrument Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
io Use grpc.NewClient instead of deprecated ones 2024-07-18 15:26:02 -07:00
labels Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
nri cri: ensure NRI API never has nil CRI 2024-06-28 15:32:11 -07:00
opts internal/cri: simplify netns setup with pinned userns 2024-09-11 07:21:43 +08:00
server internal/cri: should not apply IoOwner options 2024-12-12 14:49:29 +00:00
seutil pkg/seutil: move to internal/cri 2024-03-20 11:11:24 +01:00
store sandbox: merge address and protocol to one url 2024-04-30 15:28:00 +08:00
systemd pkg/systemd: move to internal/cri 2024-03-20 11:05:25 +01:00
testing Move CRI from pkg/ to internal/ 2024-02-02 10:12:08 -08:00
types Remove cri SandboxInfo RuntimeHandler 2024-08-29 15:50:14 -07:00
util dedup BuildLabels 2024-10-21 13:23:25 -04:00