Skip to content

Commit 6e86742

Browse files
committed
use containerd cri plugin
Signed-off-by: Jason DeTiberus <[email protected]>
1 parent 412e80c commit 6e86742

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

yml/cri-containerd.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1-
services:
2-
- name: cri-containerd
3-
image: linuxkit/cri-containerd:474d704f6dcb173b10768ab1d1bd61674468c7f9
4-
cgroupsPath: podruntime/cri-containerd
51
files:
2+
- path: /etc/crictl.yaml
3+
contents: |
4+
runtime-endpoint: unix:///run/containerd/containerd.sock
5+
image-endpoint: unix:///run/containerd/containerd.sock
6+
timeout: 10
7+
- path: /etc/containerd/config.toml
8+
contents: |
9+
state = "/run/containerd"
10+
root = "/var/lib/containerd"
11+
snapshotter = "io.containerd.snapshotter.v1.overlayfs"
12+
[grpc]
13+
address = "/run/containerd/containerd.sock"
14+
uid = 0
15+
gid = 0
16+
[debug]
17+
address = "/run/containerd/debug.sock"
18+
level = "info"
19+
[metrics]
20+
address = ""
621
- path: /etc/kubelet.sh.conf
722
contents: |
8-
KUBELET_ARGS="--container-runtime=remote --container-runtime-endpoint=unix:///var/run/cri-containerd.sock"
23+
KUBELET_ARGS="--container-runtime=remote --container-runtime-endpoint=unix:///run/containerd/containerd.sock"

0 commit comments

Comments
 (0)