File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ write_files:
3131 # installed by cloud-init
3232 oom_score = -999
3333
34+ [cgroup]
35+ path = "/runtime"
36+
3437 [plugins.linux]
3538 shim = "/home/cri-containerd/usr/local/bin/containerd-shim"
3639 runtime = "/home/cri-containerd/usr/local/sbin/runc"
@@ -84,7 +87,8 @@ write_files:
8487 ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \
8588 --log-level=debug \
8689 --network-bin-dir=/home/cri-containerd/opt/cni/bin \
87- --network-conf-dir=/home/cri-containerd/etc/cni/net.d
90+ --network-conf-dir=/home/cri-containerd/etc/cni/net.d \
91+ --cgroup-path=/runtime
8892
8993 [Install]
9094 WantedBy=cri-containerd.target
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ write_files:
3434 # installed by cloud-init
3535 oom_score = -999
3636
37+ [cgroup]
38+ path = "/runtime"
39+
3740 [plugins.linux]
3841 shim = "/home/cri-containerd/usr/local/bin/containerd-shim"
3942 runtime = "/home/cri-containerd/usr/local/sbin/runc"
@@ -87,7 +90,8 @@ write_files:
8790 ExecStart=/home/cri-containerd/usr/local/bin/cri-containerd \
8891 --log-level=debug \
8992 --network-bin-dir=/home/kubernetes/bin \
90- --network-conf-dir=/etc/cni/net.d
93+ --network-conf-dir=/etc/cni/net.d \
94+ --cgroup-path=/runtime
9195
9296 [Install]
9397 WantedBy=cri-containerd.target
You can’t perform that action at this time.
0 commit comments