File tree Expand file tree Collapse file tree 7 files changed +22
-1
lines changed
benchmark/config-containerd/etc/containerd Expand file tree Collapse file tree 7 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,17 @@ version = 2
62
62
[proxy_plugins .stargz ]
63
63
type = " snapshot"
64
64
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
65
+ [proxy_plugins .stargz .exports ]
66
+ root = " /var/lib/containerd-stargz-grpc/"
65
67
66
68
# Use stargz snapshotter through CRI
67
69
[plugins ."io .containerd .grpc .v1 .cri" .containerd ]
68
70
snapshotter = " stargz"
69
71
disable_snapshot_annotations = false
70
72
```
71
73
72
- ** Note that ` disable_snapshot_annotations = false ` is required since containerd > v1.4.2**
74
+ > NOTE1: ` disable_snapshot_annotations = false ` is required since containerd > v1.4.2
75
+ > NOTE2: ` root ` field of ` proxy_plugins ` requires containerd >= v1.6.32 or v1.7.16 or v2.0.0
73
76
74
77
You can try our [ prebuilt] ( /Dockerfile ) [ KinD] ( https://github.com/kubernetes-sigs/kind ) node image that contains the above configuration.
75
78
Original file line number Diff line number Diff line change @@ -44,9 +44,13 @@ We assume that you are using containerd (> v1.4.2) as a CRI runtime.
44
44
[proxy_plugins .stargz ]
45
45
type = " snapshot"
46
46
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
47
+ [proxy_plugins .stargz .exports ]
48
+ root = " /var/lib/containerd-stargz-grpc/"
47
49
48
50
```
49
51
52
+ > NOTE: ` root ` field of ` proxy_plugins ` requires containerd >= v1.6.32 or v1.7.16 or v2.0.0
53
+
50
54
- Install fuse
51
55
52
56
###### centos
@@ -145,6 +149,8 @@ We assume that you are using CRI-O newer than https://github.com/cri-o/cri-o/pul
145
149
[proxy_plugins .stargz ]
146
150
type = " snapshot"
147
151
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
152
+ [proxy_plugins .stargz .exports ]
153
+ root = " /var/lib/containerd-stargz-grpc/"
148
154
```
149
155
150
156
- Install fuse
Original file line number Diff line number Diff line change @@ -44,13 +44,17 @@ version = 2
44
44
[proxy_plugins .stargz ]
45
45
type = " snapshot"
46
46
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
47
+ [proxy_plugins .stargz .exports ]
48
+ root = " /var/lib/containerd-stargz-grpc/"
47
49
48
50
# Use stargz snapshotter through CRI
49
51
[plugins ."io .containerd .grpc .v1 .cri" .containerd ]
50
52
snapshotter = " stargz"
51
53
disable_snapshot_annotations = false
52
54
```
53
55
56
+ > NOTE: ` root ` field of ` proxy_plugins ` requires containerd >= v1.6.32 or v1.7.16 or v2.0.0
57
+
54
58
This repo contains [ a Dockerfile as a KinD node image] ( /Dockerfile ) which includes the above configuration.
55
59
56
60
## State directory
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ version = 2
4
4
[proxy_plugins .stargz ]
5
5
type = " snapshot"
6
6
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
7
+ [proxy_plugins .stargz .exports ]
8
+ root = " /var/lib/containerd-stargz-grpc/"
Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ version = 2
22
22
[proxy_plugins .stargz ]
23
23
type = " snapshot"
24
24
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
25
+ [proxy_plugins .stargz .exports ]
26
+ root = " /var/lib/containerd-stargz-grpc/"
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ version = 2
4
4
[proxy_plugins .stargz ]
5
5
type = " snapshot"
6
6
address = " /run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
7
+ [proxy_plugins .stargz .exports ]
8
+ root = " /var/lib/containerd-stargz-grpc/"
Original file line number Diff line number Diff line change @@ -243,6 +243,8 @@ if [ "${BUILTIN_SNAPSHOTTER}" != "true" ] ; then
243
243
[proxy_plugins.stargz]
244
244
type = "snapshot"
245
245
address = "/run/containerd-stargz-grpc/containerd-stargz-grpc.sock"
246
+ [proxy_plugins.stargz.exports]
247
+ root = "/var/lib/containerd-stargz-grpc/"
246
248
EOF
247
249
fi
248
250
You can’t perform that action at this time.
0 commit comments