Debian Codegraph @

tests/e2e/k8s/containerd.config.toml

raw
1 # explicitly use v2 config format
2 version = 2
3
4 [debug]
5 level = "debug"
6
7 [plugins."io.containerd.grpc.v1.cri".containerd]
8 # save disk space when using a single snapshotter
9 discard_unpacked_layers = false
10 # explicitly use default snapshotter so we can sed it in entrypoint
11 snapshotter = "overlayfs"
12 # explicit default here, as we're configuring it below
13 default_runtime_name = "runc"
14 # nydus snapshotter needs this config
15 disable_snapshot_annotations = false
16
17 [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
18 # set default runtime handler to v2, which has a per-pod shim
19 runtime_type = "io.containerd.runc.v2"
20
21 # Setup a runtime with the magic name ("test-handler") used for Kubernetes
22 # runtime class tests ...
23 [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler]
24 runtime_type = "io.containerd.runc.v2"
25
26 [plugins."io.containerd.grpc.v1.cri"]
27 # use fixed sandbox image
28 sandbox_image = "registry.k8s.io/pause:3.6"
29 # allow hugepages controller to be missing
30 # see https://github.com/containerd/cri/pull/1501
31 tolerate_missing_hugepages_controller = true
32 # restrict_oom_score_adj needs to be true when running inside UserNS (rootless)
33 restrict_oom_score_adj = false