k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/jobs/e2e_node/containerd/config-systemd.toml (about)

     1  # This file is a copy of config.toml with SystemdCgroup enabled
     2  #
     3  # TODO:@akhilerm Once all the tests move to use cgroupv2, this file wont be needed.
     4  #  This should merge with config.toml and it should be used everywhere
     5  version = 2
     6  required_plugins = ["io.containerd.grpc.v1.cri"]
     7  # Kubernetes doesn't use containerd restart manager.
     8  disabled_plugins = ["io.containerd.internal.v1.restart"]
     9  oom_score = -999
    10  
    11  [debug]
    12    level = "debug"
    13  
    14  # Set `slow_chown` so jobs that rely on user namespaces don't fail with
    15  # 'failed to create containerd container: snapshotter "overlayfs" doesn't support
    16  # idmap mounts on this host, configure `slow_chown` to allow a slower and expensive fallback'
    17  # when the kernel is too old to support idmaps.
    18  [plugins."io.containerd.snapshotter.v1.overlayfs"]
    19    slow_chown = true
    20  
    21  [plugins."io.containerd.grpc.v1.cri"]
    22    stream_server_address = "127.0.0.1"
    23    max_container_log_line_size = 262144
    24  [plugins."io.containerd.grpc.v1.cri".cni]
    25    bin_dir = "/home/containerd/"
    26    conf_dir = "/etc/cni/net.d"
    27    conf_template = "/home/containerd/cni.template"
    28  [plugins."io.containerd.grpc.v1.cri".registry]
    29    config_path = "/etc/containerd/certs.d"
    30  [plugins."io.containerd.grpc.v1.cri".containerd]
    31    default_runtime_name = "runc"
    32  [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
    33    runtime_type = "io.containerd.runc.v2"
    34  [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
    35    SystemdCgroup = true
    36  
    37  # Runtime handler used for runtime class test.
    38  [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.test-handler]
    39    runtime_type = "io.containerd.runc.v2"